+
     Bi4                     |   ^ RI t ^ RIt^ RIt^ RIHtHt . ROt ! R R4      t ! R R]4      t ! R R4      t	RR	 lt
]R
8X  dy   ^ RIt]P                  ! RR7      t]P                  RRRR7       ]P!                  4       t]P$                  '       g   ]P&                  P(                  '       d   RtMRt]
! ]4       R# R# )    N)CommandCompilercompile_commandInteractiveInterpreterInteractiveConsolec                   \   a  ] tR t^t o RR ltRR ltR tRR ltR tR t	R t
R	 tR
tV tR# )r   Nc                D    Vf   RRRR /pWn         \        4       V n        R # )N__name____console____doc__)localsr   compile)selfr   s   &&/usr/lib/python3.14/code.py__init__InteractiveInterpreter.__init__   s&     > -DAF&(    c                     V P                  WV4      pTf   R# T P                  T4       R#   \        \        \        3 d    T P	                  Y!R 7        R# i ; i))sourceFT)r   OverflowErrorSyntaxError
ValueErrorshowsyntaxerrorruncode)r   r   filenamesymbolcodes   &&&& r   	runsource InteractiveInterpreter.runsource'   s^    0	<<&9D < 	T {J7 	   9	s   - (AAc                x     \        WP                  4       R #   \         d    h  T P                  4         R # ; iN)execr   
SystemExitshowtracebackr   r   s   &&r   r   InteractiveInterpreter.runcodeN   s1    	!{{# 		! s    9c                     \         P                  ! 4       w  r4pV'       d   \        V\        4      '       d   Wn        VP                  R R4      pV P                  W4RV4       R;p;rER#   R;p;rEi ; i)r    N)sysexc_info
issubclassr   r   pop_showtraceback)r   r   kwargstypvaluetbr   s   &&,    r   r   &InteractiveInterpreter.showsyntaxerrora   sk    	$ \\^NCJsK88!)ZZ"-FD&9##C#%"t#C#%"s   A!A* *A1c                     \         P                  ! 4       w  rpV P                  WVP                  R 4       R;p;r#R#   R;p;r#i ; ir'   N)r(   r)   r,   tb_next)r   r.   r/   r0   s   &   r   r#   $InteractiveInterpreter.showtracebackv   sK    	$ \\^NCBJJ;##C#%"t#C#%"s	   5> Ac                   V\         n        V\         n        VP                  V4      pVP	                  4       pV'       dc   V\
        J dY   VP                  '       gG   VP                  e9   \        V4      VP                  8  d   WRP                  ^,
          ,          Vn        V;\         n	        \         n
        \         P                  \         P                  J d   V P                  WV4       R #  \         P                  ! WV4       R #   \         d    h \         d   pR Tn        TP                  TP"                  P$                  4      p\'        R\         P(                  R7       \         P                  ! \+        T4      YfP"                  4       \'        \         P(                  R7       \'        R\         P(                  R7       \         P                  ! YT4        R p?R # R p?ii ; i)NzError in sys.excepthook:)filezOriginal exception was:)r(   	last_typelast_tracebackwith_traceback
splitlinesr   textlinenolenlast_exc
last_value
excepthook__excepthook___excepthookr"   BaseException__context____traceback__r4   printstderrtype)r   r.   r/   r0   r   lineses   &&&&&  r   r,   %InteractiveInterpreter._showtraceback   sB   $$R(!!#sk)


u||'?J%,,.||a/0EJ(--s~>>S///S,3s2.   3 $$$Q__%<%<=0szzB""47A?3::&/cjjA""3r223s   /D G&G&B=G!!G&c                t    \         P                  ! WV4      pV P                  R P                  V4      4       R# r3   )	tracebackformat_exceptionwritejoin)r   r.   r/   r0   rJ   s   &&&& r   rC   "InteractiveInterpreter._excepthook   s*     **3r:

2775>"r   c                D    \         P                  P                  V4       R # r    )r(   rH   rP   )r   datas   &&r   rP   InteractiveInterpreter.write   s     	

r   )r   r   r    )z<input>single)r	   
__module____qualname____firstlineno__r   r   r   r   r#   r,   rC   rP   __static_attributes____classdictcell____classdict__s   @r   r   r      s3     )%N!&$*$3:# r   c                   V   a  ] tR t^t o R
RR/R lltR tRR ltRR ltRR ltR	t	V t
R# )r   N
local_exitFc               h    \         P                  W4       W n        W0n        V P	                  4        R # r    )r   r   r   r_   resetbuffer)r   r   r   r_   s   &&&$r   r   InteractiveConsole.__init__   s(     	''5 $r   c                    . V n         R # r    )bufferr   s   &r   ra   InteractiveConsole.resetbuffer   s	    r   c                    \         P                   R p \         P                  pR pRpVfT   V P	                  R\         P
                  : R\         P                  : RV: R	V P                  P                  : R
2	4       M)V'       d"   V P	                  R\        V4      ,          4       ^ pRpRp	V P                  '       du   \        \        R4      '       d%   \        P                  p\        R4      \        n        \        \        R4      '       d%   \        P                  p	\        R4      \        n           V'       d   \         P                  p
M\         P                  p
 V P!                  V
4      pV P#                  V4      pKP    \         d    R\         n        Rp ELi ; i  \         d    R\         n        Rp ELi ; i  \$         d    T P	                  R4        Mqi ; i  \&         d(    T P	                  R4       T P)                  4        ^ p K  \*         d0   pT P                  '       d   T P	                  R4        Rp?M
ThRp?ii ; iTe   T\        n        T	e   T	\        n        T'       d   \         =T'       d   \         =Tf/   T P	                  RT P                  P                  ,          4       R# TR8w  d   T P	                  RT,          4       R# R#   Te   T\        n        T	e   T	\        n        T'       d   \         =T'       d   \         =Tf.   T P	                  RT P                  P                  ,          4       i TR8w  d   T P	                  RT,          4       i i ; i)Fz>>> Tz... zFType "help", "copyright", "credits" or "license" for more information.NzPython z on 
z
(z)
z%s
exitquitz
KeyboardInterrupt
znow exiting %s...
r'   )r(   ps1AttributeErrorps2rP   versionplatform	__class__r	   strr_   hasattrbuiltinsri   Quitterrj   	raw_inputpushEOFErrorKeyboardInterruptra   r"   )r   bannerexitmsgdelete_ps1_after_ps2delete_ps2_aftercprtmore_exit_quitpromptlinerK   s   &&&          r   interactInteractiveConsole.interact   s    	$GG$	$77D$
 X>JJS\\4//1 2 JJvF+, ???x((  'x((  ')	- !$!$/#~~f5
  $yyk  	$CG#	$  	$CG#	$V $ 

4(
 ) JJ67$$&D!  

4(    %  %GG

04>>3J3JJKB

6G+,    %  %GG

04>>3J3JJKB

6G+, s   F F% 6K" 8G&  !G& "G 3G& K" F"!F"%G GG# G& !K" "G##G& &.IK" I I!#IK" 	IIK" "&M/	M/AM/c                    V P                   P                  V4       R P                  V P                   4      pVf   V P                  pV P	                  WBVR7      pV'       g   V P                  4        V# )rh   )r   )rd   appendrQ   r   r   ra   )r   r   r   _symbolr   r   s   &&&&  r   rv   InteractiveConsole.push2  s]     	4 4;;'}}H~~fw~?r   c                    \        V4      # r    )input)r   r   s   &&r   ru   InteractiveConsole.raw_inputI  s     V}r   )rd   r   r_   )Nz	<console>)NN)NrV   )r'   )r	   rW   rX   rY   r   ra   r   rv   ru   rZ   r[   r\   s   @r   r   r      s,      d-L. r   c                   6   a  ] tR tRt o R tR tRR ltRtV tR# )rt   iW  c                \    Wn         \        P                  R 8X  d
   RV n        R# RV n        R# )win32zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)N)namer(   ro   eof)r   r   s   &&r   r   Quitter.__init__X  s!    	<<7"+DH*DHr   c                <    R V P                    RV P                   R2# )zUse z or z to exit)r   r   re   s   &r   __repr__Quitter.__repr___  s    dii[TXXJh77r   Nc                    \        V4      hr    )r"   r$   s   &&r   __call__Quitter.__call__b  s    r   )r   r   r    )	r	   rW   rX   rY   r   r   r   rZ   r[   r\   s   @r   rt   rt   W  s     +8 r   rt   c                     \        W$R 7      pVe   Wn        M ^ RIpVP	                  W4       R#   \         d     L i ; i))r_   N)r   ru   readlineImportErrorr   )ry   readfunclocalrz   r_   consoler   s   &&&&&  r   r   r   f  sF      !>G$	 V%  		s   0 >>__main__T)colorz-q
store_truez*don't print version and copyright messages)actionhelpr'   )r   r   r   r   )NNNNF)rs   r(   rN   codeopr   r   __all__r   r   rt   r   r	   argparseArgumentParserparseradd_argument
parse_argsargsqflagsquietry    r   r   <module>r      s     
  3^ ^Bc/ cL &6 z$$40F
\H  JDvvvV r   