HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/local/lib/python3.9/site-packages/future/builtins/__pycache__/disabled.cpython-39.pyc
a

F�Eg=�@s`dZddlmZmZmZddlmZgd�Zdd�Zej	sXeD]Z
ee
�e�e
<q>eZngZdS)a�
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

�)�division�absolute_import�print_function)�utils)�apply�chr�cmpZcoerceZexecfile�file�input�long�	raw_input�reduce�reload�unicode�xrange�
StandardErrorcs�fdd�}|S)z2
    Returns a function that cannot be called
    cstd�����dS)zy
        A function disabled by the ``future`` module. This function is
        no longer a builtin in Python 3.
        z)obsolete Python 2 builtin {0} is disabledN)�	NameError�format)�args�kwargs��name��B/usr/local/lib/python3.9/site-packages/future/builtins/disabled.py�disabled4sz#disabled_function.<locals>.disabledr)rrrrr�disabled_function0srN)
�__doc__�
__future__rrr�futurerZOBSOLETE_BUILTINSr�PY3�fname�locals�__all__rrrr�<module>s%