HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/libfuturize/fixes/__pycache__/fix_execfile.cpython-310.pyc
o

,�]��@sBdZddlmZddlmZddlmZdZGdd�dej�Z	dS)	ao
Fixer for the execfile() function on Py2, which was removed in Py3.

The Lib/lib2to3/fixes/fix_execfile.py module has some problems: see
python-future issue #37. This fixer merely imports execfile() from
past.builtins and leaves the code alone.

Adds this import line::

    from past.builtins import execfile

for the function execfile() that was removed from Py3.
�)�unicode_literals)�
fixer_base)�touch_import_topzname='execfile'c@s&eZdZdZdZd�e�Zdd�ZdS)�FixExecfileT�	zs
              power<
                 ({0}) trailer< '(' args=[any] ')' >
              rest=any* >
              cCs|d}td|j|�dS)N�namez
past.builtins)r�value)�self�node�resultsr�r�@/usr/lib/python3/dist-packages/libfuturize/fixes/fix_execfile.py�	transform#szFixExecfile.transformN)	�__name__�
__module__�__qualname__�
BM_compatible�	run_order�format�
expression�PATTERNrrrrr
rs�rN)
�__doc__�
__future__r�lib2to3r�libfuturize.fixer_utilrr�BaseFixrrrrr
�<module>s