| Server IP : 209.205.66.10 / Your IP : 216.73.216.173 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : ( 1006) PHP Version : 8.5.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/past/builtins/__pycache__/ |
Upload File : |
o
,�]C
� @ s0 d dl mZ d dlZd dlmZmZmZ erd dlmZ nd dl mZ erZd dl
Z
d dl mZ dd� Zd dlm
Z dd � Zd
d� Zd dlmZ d
d� ZeZd dlmZ e
ZeZeZn+d dlZd dlmZ ejZejZejZejZejZejZejZejZejZejZejZer�ddd�Zer�g d�ZdS g ZdS )� )�unicode_literalsN)�PY2�PY3�exec_)�Mappingc O s | |i |��S )N� )�f�args�kwr r �4/usr/lib/python3/dist-packages/past/builtins/misc.py�apply s r )�strc C s t t| f��S )zU
Return a byte-string of one character with ordinal i; 0 <= i <= 256
)�oldstr�bytes)�ir r r �chr s r c C s | |k| |k S )zf
cmp(x, y) -> integer
Return negative if x<y, zero if x==y, positive if x>y.
r )�x�yr r r �cmp s r )�internc C s dt �| �dd� S )zUoct(number) -> string
Return the octal representation of an integer
�0� N)�builtins�oct)�numberr r r r % s r )�reloadc C s� |du rt �� d }|d j}|d j}n|du r|}t|t�s$td��t|t�s-td��t| d��}|�� }W d � n1 sAw Y t || 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� r zglobals 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�coder r r �execfileB s
�r/ )
r r r r/ r � raw_inputr �unichr�unicode�xrange)NN)�
__future__r r �future.utilsr r r �collectionsr �collections.abcr r �
past.builtinsr
r r r �sysr r �inputr0 �impr r2 r1 �ranger3 �__builtin__r/ �__all__r r r r �<module> sL