Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/future/builtins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/future/builtins/misc.pyc
�
,�]c
@s�dZddlmZejr!ddlmZddlmZmZm	Z	ddl
mZm
Zddl
Z
e
jZeZddlmZddlmZdd	lmZdd
lmZddlmZddl m!Z!e"�Z#e#d
�Z
dddddddddddddg
Z$n�ddl%Z%e%jZe%jZe%j	Z	e%jZe%jZe%jZe%jZe%jZe%j
Z
e%jZe%jZej&r�e%jZe%jZgZ$n,dd
lmZddlmZddgZ$dS(s�
A module that brings in equivalents of various modified Python 3 builtins
into Py2. Has no effect on Py3.

The builtin functions are:

- ``ascii`` (from Py2's future_builtins module)
- ``hex`` (from Py2's future_builtins module)
- ``oct`` (from Py2's future_builtins module)
- ``chr`` (equivalent to ``unichr`` on Py2)
- ``input`` (equivalent to ``raw_input`` on Py2)
- ``next`` (calls ``__next__`` if it exists, else ``next`` method)
- ``open`` (equivalent to io.open on Py2)
- ``super`` (backport of Py3's magic zero-argument super() function
- ``round`` (new "Banker's Rounding" behaviour from Py3)
- ``max`` (new default option from Py3.4)
- ``min`` (new default option from Py3.4)

``isinstance`` is also currently exported for backwards compatibility
with v0.8.2, although this has been deprecated since v0.9.


input()
-------
Like the new ``input()`` function from Python 3 (without eval()), except
that it returns bytes. Equivalent to Python 2's ``raw_input()``.

Warning: By default, importing this module *removes* the old Python 2
input() function entirely from ``__builtin__`` for safety. This is
because forgetting to import the new ``input`` from ``future`` might
otherwise lead to a security vulnerability (shell injection) on Python 2.

To restore it, you can retrieve it yourself from
``__builtin__._old_input``.

Fortunately, ``input()`` seems to be seldom used in the wild in Python
2...

i����(tutils(topen(tasciitoctthex(tunichrtpowN(tnewnext(tnewround(tnewsuper(tnewmax(tnewmin(tnewintcCs�t|t�rt|�}nt|t�r<t|�}nt|t�rZt|�}ny-|tkrvt||�St|||�SWnBtk
r�|tkr�t|d|�St|d||�SnXdS(s�
        pow(x, y[, z]) -> number

        With two arguments, equivalent to x**y.  With three arguments,
        equivalent to (x**y) % z, but may be more efficient (e.g. for ints).
        yN(t
isinstanceRtlongt	_SENTINELt_builtin_powt
ValueError(txtytz((s8/usr/lib/python2.7/site-packages/future/builtins/misc.pyRFs

RtchrRtinputR
tnextRRRtroundtsupertmaxtmin('t__doc__tfutureRtPY2tioRtfuture_builtinsRRRt__builtin__RRRRR
t	raw_inputRtfuture.builtins.newnextRRtfuture.builtins.newroundRRtfuture.builtins.newsuperR	Rtfuture.builtins.new_min_maxR
RRRtfuture.types.newintRtobjectRt__all__tbuiltinst	PY34_PLUS(((s8/usr/lib/python2.7/site-packages/future/builtins/misc.pyt<module>'sJ																		

Spamworldpro Mini