HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_zip.cpython-312.pyc
�

�U�A"��n��j�dZddlmZddlmZddlmZddlm	Z	m
Z
mZGd�dej�Z
y)	a7
Fixer that changes zip(seq0, seq1, ...) into list(zip(seq0, seq1, ...)
unless there exists a 'from future_builtins import zip' statement in the
top-level namespace.

We avoid the transformation if the zip() call is directly contained in
iter(<>), list(<>), tuple(<>), sorted(<>), ...join(<>), or for V in <>:.
�)�
fixer_base)�Node)�python_symbols)�Name�ArgList�in_special_contextc��eZdZdZdZdZd�Zy)�FixZipTzN
    power< 'zip' args=trailer< '(' [any] ')' > [trailers=trailer*]
    >
    zfuture_builtins.zipc��|j|�ryt|�ry|dj�}d|_g}d|vr.|dD�cgc]}|j���}}|D]	}d|_�t	t
jtd�|gd��}t	t
jtd�t|g�g|z�}|j|_|Scc}w)N�args��trailers�zip)�prefix�list)	�should_skipr�clonerr�syms�powerrr)�self�node�resultsrr�n�news       �</opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_zip.py�	transformzFixZip.transforms������D�!���d�#���v��$�$�&��������� �+2�:�+>�?�+>�a����	�+>�H�?��������4�:�:��U��T�2�2�>���4�:�:��V��g�s�e�n�=��H�I���[�[��
��
��@s�CN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERN�skip_onr��rr
r
s���M��G�
$�G�r$r
N)�__doc__r
r�pytreer�pygramrr�
fixer_utilrrr�ConditionalFixr
r#r$r�<module>r*s-�����+�:�:��Z�
&�
&�r$