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/disabled.pyo
�
,�]c@`s�dZddlmZmZmZddlmZdddddd	d
ddd
ddddgZd�Zej	s�x!eD]Z
ee
�e�e
<q{WeZngZdS(s�
This disables builtin functions (and one exception class) which are
removed from Python 3.3.

This module is designed to be used like this::

    from future.builtins.disabled import *

This disables the following obsolete Py2 builtin functions::

    apply, cmp, coerce, execfile, file, input, long,
    raw_input, reduce, reload, unicode, xrange

We don't hack __builtin__, which is very fragile because it contaminates
imported modules too. Instead, we just create new functions with
the same names as the obsolete builtins from Python 2 which raise
NameError exceptions when called.

Note that both ``input()`` and ``raw_input()`` are among the disabled
functions (in this module). Although ``input()`` exists as a builtin in
Python 3, the Python 2 ``input()`` builtin is unsafe to use because it
can lead to shell injection. Therefore we shadow it by default upon ``from
future.builtins.disabled import *``, in case someone forgets to import our
replacement ``input()`` somehow and expects Python 3 semantics.

See the ``future.builtins.misc`` module for a working version of
``input`` with Python 3 semantics.

(Note that callable() is not among the functions disabled; this was
reintroduced into Python 3.2.)

This exception class is also disabled:

    StandardError

i(tdivisiontabsolute_importtprint_function(tutilstapplytchrtcmptcoercetexecfiletfiletinputtlongt	raw_inputtreducetreloadtunicodetxranget
StandardErrorc`s�fd�}|S(s2
    Returns a function that cannot be called
    c`stdj����dS(sy
        A function disabled by the ``future`` module. This function is
        no longer a builtin in Python 3.
        s)obsolete Python 2 builtin {0} is disabledN(t	NameErrortformat(targstkwargs(tname(s</usr/lib/python2.7/site-packages/future/builtins/disabled.pytdisabled4s((RR((Rs</usr/lib/python2.7/site-packages/future/builtins/disabled.pytdisabled_function0sN(
t__doc__t
__future__RRRtfutureRtOBSOLETE_BUILTINSRtPY3tfnametlocalst__all__(((s</usr/lib/python2.7/site-packages/future/builtins/disabled.pyt<module>$s	
	
	

Spamworldpro Mini