+
    VBi#                        ] ]3t^ RIt^ RIHt  ^ RIHt ]! 4       t
^RIHt ^RIHt ^RIHt  ! R	 R
]4      t ! R R]4      t ! R R]4      tR tR tR t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR.R ltR tR.R  ltR! t ^t!R" t"R# t#R/R$ lt$R0R% lt%R0R& lt&R' t'R1R( lt(R) t)]R1R* l4       t*R+ t+R, t,R- t-R#   ]	 d     ! R R4      t Li ; i)2    N)contextmanager)localc                       ] tR t^tRtR# )_threadlocal N__name__
__module____qualname____firstlineno____static_attributes__r       ;/usr/lib/python3.14/site-packages/Cython/Compiler/Errors.pyr   r      s    r   r   )open_new_file)
DebugFlags)Optionsc                       ] tR t^tRtR# )
PyrexErrorr   Nr   r   r   r   r   r          r   r   c                       ] tR t^tRtR# )PyrexWarningr   Nr   r   r   r   r   r      r   r   r   c                       ] tR t^tRtR# )CannotSpecializer   Nr   r   r   r   r   r      r   r   r   c                 Z   V ^ ,          p\        V\        4      '       d   Q RV,          4       h VP                  4       pRP                  V\	        ^ V ^,          ^,
          4      V ^,           4      pRV: RRV ^,          ,          : R2pRpV RV RV R2pV#   \
         d    Rp Li ; i)r   zOPlease replace filename strings with Scanning.FileSourceDescriptor instances %r
z...
 ^z[unprintable code]z<------------------------------------------------------------)
isinstanceany_string_type	get_linesjoinmaxUnicodeDecodeError)positionsourceFshbars   &    r   contextr)       s    a[F6?33 dY\bbd44
 IIaAx{1}-hqk:;hqk!2!23D&1#RvR AH  ! !s   B B*)B*c                 t    V '       d0   R V ^ ,          P                  4       V ^,          V ^,          3,          # R# )z
%s:%d:%d:  )get_error_descriptionr$   s   &r   format_positionr.   1   s6    x{@@B (Xa[: : 	:r   c                 n    V'       d-   \        V4      p\        V4      pR V: V: T ;'       g    R: 2p V # )z
Error compiling Cython file:
r+   )r.   r)   )messager$   pos_strconts   &&  r   format_errorr3   7   s3    !(+x >BGW]]XZ][Nr   c                   0   a  ] tR t^>t o RR ltR tRtV tR# )CompileErrorNc                    Wn         W n        \        W!4      V n        R V n        \
        P                  W P                  4       W3V n        R# )FN)r$   message_onlyr3   formatted_messagereported	Exception__init__argsselfr$   r0   s   &&&r   r;   CompileError.__init__@   sA     #!-g!@4!7!78 '	r   c                    V P                   # N)r8   )r>   s   &r   __str__CompileError.__str__J   s    %%%r   )r<   r8   r7   r$   r9   Nr+   )r	   r
   r   r   r;   rB   r   __classdictcell____classdict__s   @r   r5   r5   >   s     (& &r   r5   c                   *   a  ] tR t^Mt o RR ltRtV tR# )CompileWarningNc                ^    Wn         \        P                  V \        V4      V,           4       R # rA   )r$   r:   r;   r.   r=   s   &&&r   r;   CompileWarning.__init__O   s!     4!:W!DEr   r-   rD   r	   r
   r   r   r;   r   rE   rF   s   @r   rI   rI   M   s     F Fr   rI   c                   &   a  ] tR t^St o R tRtV tR# )InternalErrorc                L    Wn         \        P                  V R V,          4       R# )zInternal compiler error: %sNr7   r:   r;   r>   r0   s   &&r   r;   InternalError.__init__V   s#    #4!>" 	r   r7   NrL   rF   s   @r   rN   rN   S   s      r   rN   c                   &   a  ] tR t^[t o R tRtV tR# )
AbortErrorc                L    Wn         \        P                  V R V,          4       R# )zAbort error: %sNrP   rQ   s   &&r   r;   AbortError.__init__^   s    #4!2W!<=r   rS   NrL   rF   s   @r   rU   rU   [   s     > >r   rU   c                   *   a  ] tR t^bt o RR ltRtV tR# )CompilerCrashNc                   V'       d   R V,           pMR pW0n         V'       d
   RV: V: 2pV'       d3   ^ RIpVRRP                  VP                  V4      4      ,           ,          pV'       d5   V'       g
   VR ,          pW4P                  P
                  : RV: 2,          p\        P                  WV4       WW4V3V n        R# )r   zCompiler crash in Nz/

Compiler crash traceback from this point on:
r+   z: )	r7   	tracebackr!   	format_tb	__class__r	   r5   r;   r<   )r>   posr)   r0   cause
stacktracer[   s   &&&&&& r   r;   CompilerCrash.__init__d   s    WnGG#7297CGD	++J789:G 4??#;#;UCCGd1 7:>	r   )r<   r7   rA   rL   rF   s   @r   rY   rY   b   s     ? ?r   rY   c                       ] tR t^ztRtRtR# )NoElementTreeInstalledExceptionz[raised when the user enabled options.gdb_debug but no ElementTree
implementation was found
r   N)r	   r
   r   r   __doc__r   r   r   r   rc   rc   z   s    r   rc   c                     V e   \        V 4      \        n        MR \        n        V'       d   \        P                  \        n        MR \        n        ^ \        n        R # rA   )r   threadlocalcython_errors_listing_filesysstderrcython_errors_echo_filecython_errors_count)pathecho_to_stderrs   &&r   open_listing_filern      s>     1>t1D.15..1jj+.2+&'K#r   c                      \         P                  '       d,   \         P                  P                  4        R \         n        R # R # rA   )rf   rg   closer   r   r   close_listing_filerq      s-    ---..44615. .r   c           	         \         P                  pV'       d#   V'       d   VR,          P                  V 4       R# V P                  '       d   R# RV n        RV ,          p\         P                  pV'       d   VP                  V4       \         P                  pV'       d   VP                  V4       \         ;P                  ^,          un        \        P                  '       d   \        R
4      hR#   \         d-    \        \        T RR4      \        T RR4      4      R,           p Li ; i  \         d%    TP                  TP                  RR	4      4        Li ; i  \         d%    TP                  TP                  RR	4      4        Li ; i)   NTz%s
r7   z[unprintable exception message]r$   r   ASCIIreplacezfatal errors)rf   cython_errors_stackappendr9   UnicodeEncodeErrorr3   getattrrg   writeencoderj   rk   r   	fast_failrU   )err	use_stackerror_stacklinelisting_file	echo_files   &&    r   report_errorr      s=   11KyBs# <<<SLT
 #==##D)  77	& 	''1,'^,,  " 	G^=^ _ 'Z >@BFGD	G & D""4;;w	#BCD
 & AGY ?@As6   	C1 7D+  E 14D('D(+,EE,FFc                     V f   \        V4      h\        W4      p\        P                  '       d   \	        V4      h\        V4       V# rA   )rN   r5   r   debug_exception_on_errorr:   r   )r$   r0   r~   s   && r   errorr      s?    G$$
x
)C***)C.,@Jr   c                      V P                  V4       R#   \         d&    T P                  TP                  R R4      4        R# i ; i)asciiru   N)r{   ry   r|   )filer   s   &&r   _write_file_encoder      s9    4

4 4

4;;w	234s    ,AAc                     VP                   R ,          '       g   R# \        W4      pRV,          p\        P                  pV'       d   \	        WT4       \        P
                  pV'       d   \	        Wd4       V# )show_performance_hintsNzperformance hint: %s
)
directivesrI   rf   rg   r   rj   )r$   r0   envwarnr   r   r   s   &&&    r   performance_hintr      sZ    >>233(,D#d*D99L<.33I9+Kr   c                     V\         8  d   R # \        W4      pRV,          p\        P                  pV'       d   \	        WT4       \        P
                  pV'       d   \	        Wd4       V# )Nz	note: %s
)LEVELrI   rf   rg   r   rj   r$   r0   levelr   r   r   r   s   &&&    r   r0   r0      sQ    u}(,D$D99L<.33I9+Kr   c                 &   V\         8  d   R # \        P                  '       d   V '       d   \        W4      # \	        W4      pRV,          p\
        P                  pV'       d   \        WT4       \
        P                  pV'       d   \        Wd4       V# Nzwarning: %s
)	r   r   warning_errorsr   rI   rf   rg   r   rj   r   s   &&&    r   warningr      sj    u}(X''(,DT!D99L<.33I9+Kr   c                 &   V\         8  d   R # \        P                  pW9   d   R # \        W4      pRV,          p\        P                  pV'       d   \        We4       \        P                  pV'       d   \        Wu4       VP                  V4       V# r   )r   rf   cython_errors_warn_once_seenrI   rg   r   rj   add)r$   r0   r   warn_once_seenr   r   r   r   s   &&&     r   	warn_oncer      ss    u} ==N (,DT!D99L<.33I9+wKr   c                  H    . p \         P                  P                  V 4       V # rA   )rf   rw   rx   )errorss    r   hold_errorsr      s     F##**62Mr   c                 ~    \         P                  P                  4       pV '       g   V F  p\        V4       K  	  R # R # rA   )rf   rw   popr   )ignoreheld_errorsr~   s   &  r   release_errorsr     s0    11557KC  r   c                  0    \         P                  R,          # )rs   rv   )rf   rw   r   r   r   r   r     s    **2..r   c              #   f   "   \        4       p Vx  \        V R 7       R#   \        T R 7       i ; i5i))r   N)r   r   )r   r   s   & r   local_errorsr     s&     ]F&f%f%s   1  1.1c                      ^ \         n        R\         n        R\         n        \	        4       \         n        . \         n        R# )r   N)rf   rk   rg   rj   setr   rw   r   r   r   init_threadr     s,    &'K#-1K**.K'/2uK,&(K#r   c                  d    \         P                  P                  4        \         P                  R  R# ):NNNN)rf   r   clearrw   r   r   r   resetr   $  s"    ,,224''*r   c                  "    \         P                  # rA   )rf   rk   r   r   r   get_errors_countr   (  s    ***r   )T)rs   )r   )F).bytesstrr   rh   
contextlibr   	threadingr   r   ImportErrorrf   Utilsr   r+   r   r   r:   r   r   r   r)   r.   r3   r5   rI   rN   rU   rY   rc   rn   rq   r   r   r   r   r   r0   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      s+  
 #, 
 %/ n !  	 		9 		z 	"&: &F\ FI > >?L ?0j 
(6
-6 	
4 (/ & &)++y  s   C" "C65C6