kr.motd.maven.sphinx.dist.future.builtins.disabled$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1 f$0 R(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/String division absolute_import print_function org/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/PyObject 0 apply 2 chr 4 cmp 6 coerce 8 execfile : file < input > long @ raw_input B reduce D reload F unicode H xrange J
StandardError L ([Lorg/python/core/PyObject;)V N O
/ P OBSOLETE_BUILTINS R org/python/core/Py T EmptyObjects [Lorg/python/core/PyObject; V W U X org/python/core/PyFunction Z f_globals Lorg/python/core/PyObject; \ ] ^ disabled_function$1 to_cell (II)V a b
c 2
Returns a function that cannot be called
e
disabled$2 y
A function disabled by the ``future`` module. This function is
no longer a builtin in Python 3.
h NameError j getglobal .(Ljava/lang/String;)Lorg/python/core/PyObject; l m
n )obsolete Python 2 builtin {0} is disabled p format r __getattr__ t m
1 u getderef (I)Lorg/python/core/PyObject; w x
y __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; { |
1 }
makeException 9(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_lasti I ? ? ? ` ? ? ? 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;)V org/python/core/PyFunctionTable ? ()V N ?
? ? self Lfuture/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 ? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap; ? ?
? ? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V ? ?
U ? getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap ? )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap; ? ?
? ?
call_function S(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.py org/python/core/ThreadState Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ? ? ? ? ? ` ? 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? SYK? SY
M? S? QN+S-? )N+0? ? YN? [Y+? _-? ?f? ? ?N+?-? )N+=? +-? ??? v? ?? ?? x+>? +S? ?? ?N? ;+?? )+?? +?? ?,+?? ?? ~:+?? ?,? ?+?? ?? ?:+>? -? ?:???+@? +S? ?N+?-? )N? +B? ? /Y? Y? QN+?-? )N+? ?? ?? . $ &