$27 GRAYBYTE WORDPRESS FILE MANAGER $23

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/

HOME
Current File : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__//fix_idioms.cpython-33.pyo
�
��fc@smdZddlmZddlmZmZmZmZmZm	Z	dZ
dZGdd�dej�Z
dS(	u�Adjust some old Python 2 idioms to their modern counterparts.

* Change some type comparisons to isinstance() calls:
    type(x) == T -> isinstance(x, T)
    type(x) is T -> isinstance(x, T)
    type(x) != T -> not isinstance(x, T)
    type(x) is not T -> not isinstance(x, T)

* Change "while 1:" into "while True:".

* Change both

    v = list(EXPR)
    v.sort()
    foo(v)

and the more general

    v = EXPR
    v.sort()
    foo(v)

into

    v = sorted(EXPR)
    foo(v)
i(u
fixer_base(uCalluCommauNameuNodeu	BlankLineusymsu0(n='!=' | '==' | 'is' | n=comp_op< 'is' 'not' >)u(power< 'type' trailer< '(' x=any ')' > >csr|EeZdZdZdeeeefZ�fdd�Zdd�Z	dd�Z
dd	�Zd
d�Z�S(
u	FixIdiomsu�
        isinstance=comparison< %s %s T=any >
        |
        isinstance=comparison< T=any %s %s >
        |
        while_stmt< 'while' while='1' ':' any+ >
        |
        sorted=any<
            any*
            simple_stmt<
              expr_stmt< id1=any '='
                         power< list='list' trailer< '(' (not arglist<any+>) any ')' > >
              >
              '\n'
            >
            sort=
            simple_stmt<
              power< id2=any
                     trailer< '.' 'sort' > trailer< '(' ')' >
              >
              '\n'
            >
            next=any*
        >
        |
        sorted=any<
            any*
            simple_stmt< expr_stmt< id1=any '=' expr=any > '\n' >
            sort=
            simple_stmt<
              power< id2=any
                     trailer< '.' 'sort' > trailer< '(' ')' >
              >
              '\n'
            >
            next=any*
        >
    csJtt|�j|�}|rFd|krF|d|dkrB|SdS|S(Nusorteduid1uid2(usuperu	FixIdiomsumatchuNone(uselfunodeur(u	__class__(u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyumatchOsuFixIdioms.matchcCsdd|kr|j||�Sd|kr8|j||�Sd|krT|j||�Std��dS(Nu
isinstanceuwhileusortedu
Invalid match(utransform_isinstanceutransform_whileutransform_sortuRuntimeError(uselfunodeuresults((u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyu	transformZsuFixIdioms.transformcCs�|dj�}|dj�}d|_d|_ttd�|t�|g�}d|kr�d|_ttjtd�|g�}n|j|_|S(NuxuTuu u
isinstanceununot(ucloneuprefixuCalluNameuCommauNodeusymsunot_test(uselfunodeuresultsuxuTutest((u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyutransform_isinstanceds		!	!uFixIdioms.transform_isinstancecCs*|d}|jtdd|j��dS(NuwhileuTrueuprefix(ureplaceuNameuprefix(uselfunodeuresultsuone((u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyutransform_whileps
uFixIdioms.transform_whilecCs=|d}|d}|jd�}|jd�}|rW|jtdd|j��nR|r�|j�}d|_|jttd�|gd|j��ntd��|j�|j}d	|kr9|r|jd	�d
|d
jf}	d	j	|	�|d
_q9t
�}
|jj|
�|jd	�d
|
_ndS(Nusortunextulistuexprusorteduprefixuushould not have reached hereu
i(
ugetureplaceuNameuprefixucloneuCalluRuntimeErroruremoveu
rpartitionujoinu	BlankLineuparentuappend_child(uselfunodeuresultsu	sort_stmtu	next_stmtu	list_callusimple_exprunewubtwnuprefix_linesuend_line((u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyutransform_sortts*

	
	 	uFixIdioms.transform_sortT(
u__name__u
__module__u__qualname__uTrueuexplicituTYPEuCMPuPATTERNumatchu	transformutransform_isinstanceutransform_whileutransform_sort(u
__locals__((u	__class__u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyu	FixIdioms%s'
u	FixIdiomsN(u__doc__uu
fixer_baseu
fixer_utiluCalluCommauNameuNodeu	BlankLineusymsuCMPuTYPEuBaseFixu	FixIdioms(((u=/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_idioms.pyu<module>s
.


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-33.pyc
0.15 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__init__.cpython-33.pyo
0.15 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_apply.cpython-33.pyc
2.109 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_apply.cpython-33.pyo
2.077 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_basestring.cpython-33.pyc
0.992 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_basestring.cpython-33.pyo
0.992 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_buffer.cpython-33.pyc
1.134 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_buffer.cpython-33.pyo
1.134 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_callable.cpython-33.pyc
1.727 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_callable.cpython-33.pyo
1.727 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_dict.cpython-33.pyc
4.498 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_dict.cpython-33.pyo
4.376 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_except.cpython-33.pyc
3.893 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_except.cpython-33.pyo
3.893 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exec.cpython-33.pyc
1.609 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exec.cpython-33.pyo
1.577 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_execfile.cpython-33.pyc
2.339 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_execfile.cpython-33.pyo
2.307 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exitfunc.cpython-33.pyc
3.18 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_exitfunc.cpython-33.pyo
3.18 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_filter.cpython-33.pyc
2.463 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_filter.cpython-33.pyo
2.463 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_funcattrs.cpython-33.pyc
1.312 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_funcattrs.cpython-33.pyo
1.312 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_future.cpython-33.pyc
1.104 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_future.cpython-33.pyo
1.104 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_getcwdu.cpython-33.pyc
1.114 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_getcwdu.cpython-33.pyo
1.114 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_has_key.cpython-33.pyc
3.783 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_has_key.cpython-33.pyo
3.751 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_idioms.cpython-33.pyc
5.134 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_idioms.cpython-33.pyo
5.028 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_import.cpython-33.pyc
3.986 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_import.cpython-33.pyo
3.986 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports.cpython-33.pyc
6.324 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports.cpython-33.pyo
6.324 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports2.cpython-33.pyc
0.755 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_imports2.cpython-33.pyo
0.755 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_input.cpython-33.pyc
1.327 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_input.cpython-33.pyo
1.327 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_intern.cpython-33.pyc
2.033 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_intern.cpython-33.pyo
2.033 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_isinstance.cpython-33.pyc
2.026 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_isinstance.cpython-33.pyo
2.026 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools.cpython-33.pyc
1.983 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools.cpython-33.pyo
1.983 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools_imports.cpython-33.pyc
2.265 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_itertools_imports.cpython-33.pyo
2.221 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_long.cpython-33.pyc
1.039 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_long.cpython-33.pyo
1.039 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_map.cpython-33.pyc
3.25 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_map.cpython-33.pyo
3.25 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_metaclass.cpython-33.pyc
7.581 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_metaclass.cpython-33.pyo
7.523 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_methodattrs.cpython-33.pyc
1.322 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_methodattrs.cpython-33.pyo
1.322 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ne.cpython-33.pyc
1.224 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ne.cpython-33.pyo
1.224 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_next.cpython-33.pyc
4.56 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_next.cpython-33.pyo
4.527 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_nonzero.cpython-33.pyc
1.274 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_nonzero.cpython-33.pyo
1.274 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_numliterals.cpython-33.pyc
1.549 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_numliterals.cpython-33.pyo
1.549 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_operator.cpython-33.pyc
6.379 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_operator.cpython-33.pyo
6.379 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_paren.cpython-33.pyc
1.721 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_paren.cpython-33.pyo
1.721 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_print.cpython-33.pyc
3.268 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_print.cpython-33.pyo
3.173 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raise.cpython-33.pyc
2.932 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raise.cpython-33.pyo
2.932 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raw_input.cpython-33.pyc
1.128 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_raw_input.cpython-33.pyo
1.128 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_reduce.cpython-33.pyc
1.444 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_reduce.cpython-33.pyo
1.444 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_renames.cpython-33.pyc
2.957 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_renames.cpython-33.pyo
2.957 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_repr.cpython-33.pyc
1.222 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_repr.cpython-33.pyo
1.222 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_set_literal.cpython-33.pyc
2.269 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_set_literal.cpython-33.pyo
2.269 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_standarderror.cpython-33.pyc
1.063 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_standarderror.cpython-33.pyo
1.063 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_sys_exc.cpython-33.pyc
1.985 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_sys_exc.cpython-33.pyo
1.985 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_throw.cpython-33.pyc
2.437 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_throw.cpython-33.pyo
2.437 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_tuple_params.cpython-33.pyc
6.89 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_tuple_params.cpython-33.pyo
6.89 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_types.cpython-33.pyc
2.513 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_types.cpython-33.pyo
2.513 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_unicode.cpython-33.pyc
2.242 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_unicode.cpython-33.pyo
2.242 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_urllib.cpython-33.pyc
8.157 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_urllib.cpython-33.pyo
8.157 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ws_comma.cpython-33.pyc
1.579 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_ws_comma.cpython-33.pyo
1.579 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xrange.cpython-33.pyc
3.826 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xrange.cpython-33.pyo
3.826 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xreadlines.cpython-33.pyc
1.563 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_xreadlines.cpython-33.pyo
1.563 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_zip.cpython-33.pyc
1.542 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fix_zip.cpython-33.pyo
1.542 KB
17 Apr 2024 4.58 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF