https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /opt/alt-old/python27/lib/python2.7/site-packages/libfuturize/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt-old/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyc
�
�A�[c@s�dZddlmZddlZddlmZddlmZddlm	Z	ddl
mZmZm
Z
ejd�Zd	ejfd
��YZdS(u
For the ``future`` package.

Adds this import line:

    from past.builtins import str as oldstr

at the top and wraps any unadorned string literals 'abc' or explicit byte-string
literals b'abc' in oldstr() calls so the code has the same behaviour on Py3 as
on Py2.6/2.7.
i����(tunicode_literalsN(t
fixer_base(ttoken(tsyms(t
future_importttouch_import_toptwrap_in_fn_callu[^uUrR]?[\'\"]t
FixOldstrWrapcBseZeZdZd�ZRS(uSTRINGcCs|jtjkr{tdd|�tj|j�r{|j�}d|_d|j|_t	d|gd|j�}|SndS(Nu
past.typesuoldstruubtprefix(
ttypeRtSTRINGRt_literal_retmatchtvaluetcloneRR(tselftnodetresultstnewtwrapped((sR/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyt	transforms	(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((sR/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyRs(t__doc__t
__future__Rtretlib2to3Rt
lib2to3.pgen2Rtlib2to3.fixer_utilRtlibfuturize.fixer_utilRRRtcompileRtBaseFixR(((sR/opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_oldstr_wrap.pyt<module>s

https://t.me/AnonymousX5 - 2025