https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/libpasteurize/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/libpasteurize/fixes/__pycache__/fix_imports.cpython-310.pyc
o

,�]P�@spdZddlmZddlmZmZmZmZddlm	Z
ddlmZddl
mZmZddlmZidd	�d
d�dd
�dd�dd�dd�dd�dd�dd�dd�dd�dd�d d!�d"d#�d$d%�d&d'�d(d)�id*d+�d,d-�d.d/�d0d1�d2d3�d4d5�d6d7�d8d9�d:d;�d<d=�d>d?�d@dA�dBdC�dDdE�dFdG�dHdI��ZdJZdKZdLZdMZdNZdOZdPZdQZdRZdSZdTdU�ZGdVdW�dWej�ZdXS)Yz8
Fixer for standard library imports renamed in Python 3
�)�
fixer_base)�Name�is_probably_builtin�Newline�does_tree_import)�python_symbols)�token)�Node�Leaf��touch_import_top�reprlib�repr�winreg�_winreg�configparser�ConfigParser�copyreg�copy_reg�queue�Queue�socketserver�SocketServer�_markupbase�
markupbaseztest.supportztest.test_supportzdbm.bsd�dbhashzdbm.ndbm�dbmzdbm.dumb�dumbdbmzdbm.gnu�gdbmzhtml.parser�
HTMLParserz
html.entities�htmlentitydefszhttp.client�httplibzhttp.cookies�Cookiezhttp.cookiejar�	cookielibztkinter.dialog�Dialogztkinter._fix�FixTkztkinter.scrolledtext�ScrolledTextztkinter.tix�Tixztkinter.constants�Tkconstantsztkinter.dnd�Tkdndztkinter.__init__�Tkinterztkinter.colorchooser�tkColorChooserztkinter.commondialog�tkCommonDialogztkinter.font�tkFontztkinter.ttk�ttkztkinter.messagebox�tkMessageBoxztkinter.turtle�turtlezurllib.robotparser�robotparserz
xmlrpc.client�	xmlrpclib�builtins�__builtin__z	name='%s'z	attr='%s'z$dotted_name=dotted_name< %s '.' %s >z%sz"power< %s trailer< '.' %s > any* >zpower< %s any* >z:from_import=import_from< 'from' %s 'import' imported=any >z�from_import_submod=import_from< 'from' %s 'import' (%s | import_as_name< %s 'as' renamed=any > | import_as_names< any* (%s | import_as_name< %s 'as' renamed=any >) any* > ) >zrname_import=import_name< 'import' %s > | name_import=import_name< 'import' dotted_as_name< %s 'as' renamed=any > >zAname_import=import_name< 'import' dotted_as_names< names=any* > >c
Cs�d|vrA|�dd�\}}t|}t|}t||f}t|}t|||||f}t||f}t||f}t|}	d�	|||||	f�St|}t||f}t|}t
|}d�	|||f�S)z�
    Accepts a string and returns a pattern of possible patterns involving that name
    Called by simple_mapping_to_pattern for each name in the mapping it receives.
    �.�� | 
)�split�simple_name_match�
subname_match�dotted_name_match�from_import_match�from_import_submod_match�name_import_match�power_twoname_match�power_subname_match�join�power_onename_match)
�name�attr�simple_name�simple_attr�dotted_name�i_from�
i_from_submod�i_name�u_name�	u_subname�rM�A/usr/lib/python3/dist-packages/libpasteurize/fixes/fix_imports.py�all_patternsOs rOc@s6eZdZd�dd�eD��Zd�eef�Zdd�ZdS)�
FixImportsr7cCsg|]}t|��qSrM)rO)�.0rCrMrMrN�
<listcomp>lszFixImports.<listcomp>cCstdd|�dS)N�future�standard_libraryr)�self�node�resultsrMrMrN�	transformoszFixImports.transformN)�__name__�
__module__�__qualname__rA�MAPPING�PATTERN�multiple_name_import_matchrXrMrMrMrNrPjsrPN) �__doc__�lib2to3r�lib2to3.fixer_utilrrrr�lib2to3.pygramr�syms�
lib2to3.pgen2r�lib2to3.pytreer	r
�libfuturize.fixer_utilrr\r9r:r;rBr?r@r<r=r>r^rO�BaseFixrPrMrMrMrN�<module>s���������	�
���
������������������ �!�,

https://t.me/RX1948 - 2025