All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kr.motd.maven.sphinx.dist.future.builtins.disabled$py.class Maven / Gradle / Ivy

There is a newer version: 2.10.0
Show newest version
????1f$0R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;__doc__?
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

org/python/core/PyStringfromInterned.(Ljava/lang/String;)Lorg/python/core/PyString;	

org/python/core/PyFrame
	setglobal/(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline(I)V

__future__java/lang/Stringdivisionabsolute_importprint_functionorg/python/core/imp!
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;#$
"%setlocal'
(future*utils,org/python/core/PyList.org/python/core/PyObject0apply2chr4cmp6coerce8execfile:file<input>long@	raw_inputBreduceDreloadFunicodeHxrangeJ
StandardErrorL([Lorg/python/core/PyObject;)VNO
/POBSOLETE_BUILTINSRorg/python/core/PyTEmptyObjectsorg/python/core/PyObject;VW	UXorg/python/core/PyFunctionZ	f_globalsLorg/python/core/PyObject;\]	^disabled_function$1to_cell(II)Vab
c2
    Returns a function that cannot be called
    e
disabled$2y
        A function disabled by the ``future`` module. This function is
        no longer a builtin in Python 3.
        h	NameErrorj	getglobal.(Ljava/lang/String;)Lorg/python/core/PyObject;lm
n)obsolete Python 2 builtin {0} is disabledpformatr__getattr__tm
1ugetderef(I)Lorg/python/core/PyObject;wx
y__call__S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;{|
1}
makeException9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;?
U?future/builtins/disabled$py?Lorg/python/core/PyCode;g?	??
getclosure?x
??(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;)VN?
[?(ILorg/python/core/PyObject;)V'?
?getlocal?x
?f_lastiI??	?`?	??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)VN?
[?disabled_function?getname?m
?PY3?__not__()Lorg/python/core/PyObject;??
1?__nonzero__()Z??
1?__iter__??
1?fname?locals?9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;{?
1?__setitem__7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V??
1?__iternext__??
1?__all__?None?]	U?(Ljava/lang/String;)Vorg/python/core/PyFunctionTable?()VN?
??selfLfuture/builtins/disabled$py;??	???newCode?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;??
U??	??name?disabled?args?kwargs?getMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)V?N?
????
??org/python/core/CodeLoader?createSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;??
??runMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V??
U?getCodeBootstrap!()Lorg/python/core/CodeBootstrap;#org/python/core/PyRunnableBootstrap?)getFilenameConstructorReflectionBootstrap2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;??
??
call_functionS(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
??`
??g
??org/python/core/PyRunnable? Lorg/python/compiler/APIVersion;value%Lorg/python/compiler/MTime;`9 G?Lorg/python/compiler/Filename;b/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/future/builtins/disabled.pyorg/python/core/ThreadState	CodeLineNumberTableStackMap
SourceFileRuntimeVisibleAnnotations!?????`?g??+??+$??W+&??N-S-S- S-+?&N-2:+?):-2:+?):-2:+ ?):+(?+?N--S-+?&N-2:+-?):++??/Y?1Y3?SY5?SY7?SY9?SY;?SY=?SY??SYA?SYC?SY	E?SY
G?SYI?SYK?SY
M?S?QN+S-?)N+0??YN?[Y+?_-??f???N+?-?)N+=?+-????v?????x+>?+S????N?;+??)+??+???,+????~:+???,??+?????:+>?-??:???+@?+S??N+?-?)N?+B??/Y?Y?QN+?-?)N+?????.$&(+0=>?>@B
P|?
11??
11??
??
1`z
Z+?d+3?f?W+4??YN?[Y+?_-??i??1N-+??S-??N+-??N+:?+??N+??-?34:gO3+8?i?W+9?+k?o,q?s?v,+?z?~?~???
89N??
?*??*???M,+???0?ѳ??M,?S,?S,+?0???M,?S,0?ѳ??M,?S,?S,+?4???M,?S,0?ѳ?????Ӱ	?? ??Y????*??	?????????.*,-?( $??????????
f ?
?
$?
?
(?
?
,?
?
IJs




© 2015 - 2024 Weber Informatics LLC | Privacy Policy