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: //usr/lib/python3/dist-packages/past/builtins/__pycache__/misc.cpython-310.pyc
o

,�]C
�@s0ddlmZddlZddlmZmZmZerddlmZnddl	mZerZddl
Z
ddl	mZdd�Zddlm
Zdd	�Zd
d�ZddlmZd
d�ZeZddlmZe
ZeZeZn+ddlZddlmZejZejZejZejZejZejZejZejZejZejZejZer�ddd�Zer�gd�ZdSgZdS)�)�unicode_literalsN)�PY2�PY3�exec_)�MappingcOs||i|��S)N�)�f�args�kwrr�4/usr/lib/python3/dist-packages/past/builtins/misc.py�applysr)�strcCstt|f��S)zU
        Return a byte-string of one character with ordinal i; 0 <= i <= 256
        )�oldstr�bytes)�irrr�chrsrcCs||k||kS)zf
        cmp(x, y) -> integer

        Return negative if x<y, zero if x==y, positive if x>y.
        r)�x�yrrr�cmpsr)�interncCsdt�|�dd�S)zUoct(number) -> string

        Return the octal representation of an integer
        �0�N)�builtins�oct)�numberrrrr%sr)�reloadcCs�|durt��d}|dj}|dj}n|dur|}t|t�s$td��t|t�s-td��t|d��}|��}Wd�n1sAwYt	||d�}t
|||�dS)z�
        Read and execute a Python script from a file in the given namespaces.
        The globals and locals are dictionaries, defaulting to the current
        globals and locals. If only globals is given, locals defaults to it.
        N�rzglobals must be a mappingzlocals must be a mapping�rb�exec)�inspect�stack�	f_globals�f_locals�
isinstancer�	TypeError�open�read�compiler)�filename�	myglobals�mylocals�caller_frame�fin�source�coderrr�execfileBs



�r/)
rrrr/r�	raw_inputr�unichr�unicode�xrange)NN)�
__future__rr�future.utilsrrr�collectionsr�collections.abcrr�
past.builtinsr
rrr�sysrr�inputr0�imprr2r1�ranger3�__builtin__r/�__all__rrrr�<module>sL