+
    VBi                         ^ RI t ^ RIt^ RIt ^ RIHt Rt^RI	H
t
 ^RIHt R t ! R	 R
4      tR#   ] d    Rt^ RIHt  L,i ; i)    N)etreeTF)ElementTree)Errors)EncodedStringc                    \        V \        4      '       d7   V P                  R4      '       d    V R,          P                  4       '       d   R# R# )z
Names like '.0' are used internally for arguments
to functions creating generator expressions,
however they are not identifiers.

See https://github.com/cython/cython/issues/5552
.:   NNFT)
isinstancer   
startswith	isdecimal)names   &@/usr/lib/python3.14/site-packages/Cython/Debugger/DebugWriter.pyis_valid_tagr      s8     $&&??3DH$6$6$8$8    c                   F   a  ] tR t^t o RtR tR	R ltR tR tR t	Rt
V tR# )
CythonDebugWriterz
Class to output debugging information for cygdb

It writes debug information to cython_debug/cython_debug_info_<modulename>
in the build directory.
c                6   \         f   \        P                  ! 4       h\        P                  P                  T;'       g    \        P                  R4      V n        \         P                  ! 4       V n	        R V n
        V P                  R\        RR7      R7       R # )Ncython_debugz1.0)version)attrs)r   r   NoElementTreeInstalledExceptionospathjoincurdir
output_dirTreeBuildertbmodule_namestartdict)selfr   s   &&r   __init__CythonDebugWriter.__init__&   se    =88::'',,z'>'>RYYO##%

>e)<
=r   Nc                v    \        V4      '       d(   V P                  P                  Y;'       g    / 4       R # R # N)r   r   r    r"   r   r   s   &&&r   r    CythonDebugWriter.start0   s(    GGMM$, r   c                b    \        V4      '       d   V P                  P                  V4       R # R # r&   )r   r   end)r"   r   s   &&r   r*   CythonDebugWriter.end4   s"    GGKK r   c                    \        V4      '       d9   V P                  P                  W4       V P                  P                  V4       R # R # r&   )r   r   r    r*   r'   s   &&,r   	add_entryCythonDebugWriter.add_entry8   s2    GGMM$&GGKK r   c                @   V P                   P                  R 4       V P                   P                  R4       V P                   P                  4       p \        P                  ! V P
                  4       \        P                  ! V4      p/ p\        '       d   RVR&   RV P                  ,           pVP                  ! \        P                  P                  V P
                  V4      3RR/VB  \        P                  P                  V P
                  R4      p\!        VR	4      ;_uu_ 4       pVP                  \"        P$                  4       RRR4       R#   \         d,   pTP                  \        P                  8w  d   h  Rp?ELRp?ii ; i  + '       g   i     R# ; i)
Moduler   NTpretty_printcython_debug_info_encodingzUTF-8interpreterw)r   r*   closer   makedirsr   OSErrorerrnoEEXISTr   r   	have_lxmlr   writer   r   opensys
executable)r"   xml_root_elementeetkwfninterpreter_pathfs   &       r   	serializeCythonDebugWriter.serialize=   s   HN#77==?	KK(
 /09!%B~!D$4$44
door2KWKK77<<G"C((AGGCNN# )(  	ww%,,& '	 )((s$    E ) FF	 FF	F	)r   r   r   r&   )__name__
__module____qualname____firstlineno____doc__r#   r    r*   r-   rG   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s(     >-
$ $r   r   )r   r>   r9   lxmlr   r;   ImportError	xml.etreer   Compilerr   Compiler.StringEncodingr   r   r    r   r   <module>rW      sK    	 
 /I
  34$ 4$-  /I./s   1 AA