b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 172.67.192.52 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / lib2to3 / pgen2 /
Filename/usr/lib64/python2.6/lib2to3/pgen2/literals.pyc
Size1.99 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 16:37
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@s�dZddkZh
dd6dd6dd6d d
6d d 6d
d6dd6dd6dd6dd6Zd�Zd�Zd�Zedjo e�ndS(s<Safely evaluate Python string literals without using eval().iÿÿÿÿNstastbs tfs
tns
trs tts tvt't"s\cCs|idd�\}}|id�pt�ti|�}|dj o|S|id�on|d}t|�djotd|��nyt|d�}Wqtj
otd|��qXn:yt|d�}Wn#tj
otd |��nXt |�S(
Niis\txis!invalid hex string escape ('\%s')iis#invalid octal string escape ('\%s')(
tgroupt
startswithtAssertionErrortsimple_escapestgettNonetlent
ValueErrortinttchr(tmtallttailtescthexesti((s./usr/lib64/python2.6/lib2to3/pgen2/literals.pytescapes$

cCsÝ|id�p$|id�ptt|d ��|d}|d |djo|d}n|i|�ptt|t|� ��t|�dt|�jpt�|t|�t|� !}tidt|�S(NRRiiiis)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})(R R treprtendswithRtretsubR(tstq((s./usr/lib64/python2.6/lib2to3/pgen2/literals.pyt
evalString(s4
+$cCsaxZtd�D]L}t|�}t|�}t|�}||jo|G|G|G|GHq
q
WdS(Ni(trangeRRR!(RtcRte((s./usr/lib64/python2.6/lib2to3/pgen2/literals.pyttest2s
   
t__main__(t__doc__RR
RR!R%t__name__(((s./usr/lib64/python2.6/lib2to3/pgen2/literals.pyt<module>s