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

kr.motd.maven.sphinx.dist.future.builtins.misc$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__.
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)

``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...

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
futurejava/lang/Stringutilsorg/python/core/imp
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; 
!setlocal#
$getname.(Ljava/lang/String;)Lorg/python/core/PyObject;&'
(PY2*org/python/core/PyObject,__getattr__.'
-/__nonzero__()Z12
-3io5open7future_builtins9ascii;oct=hex?__builtin__AunichrCpowEchrG_builtin_powI	importOneH(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;KL
M
isinstanceO	raw_inputQinputSfuture.builtins.newnextUnewnextWnextYfuture.builtins.newround[newround]round_future.builtins.newsuperanewsupercsuperefuture.types.newintgnewintiobjectk__call__9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;mn
-o	_SENTINELqorg/python/core/PyFunctions	f_globalsLorg/python/core/PyObject;uv	wpow$1?
        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).
        z	getglobal|'
}getlocal(I)Lorg/python/core/PyObject;?
?m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;m?
-?long?S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;m?
-?(ILorg/python/core/PyObject;)V#?
?_eq6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
-?f_lastiI??	??(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;m?
-?org/python/core/Py?setExceptionM(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;??
??
ValueError?org/python/core/PyException?match(Lorg/python/core/PyObject;)Z??
??newImaginary(D)Lorg/python/core/PyComplex;??
??_add??
-?java/lang/Throwable?None?v	??future/builtins/misc$py?Lorg/python/core/PyCode;y?	??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V??
t?org/python/core/PyList?([Lorg/python/core/PyObject;)V??
??__all__?builtins?EmptyObjectsorg/python/core/PyObject;??	??(Ljava/lang/String;)Vorg/python/core/PyFunctionTable?()V??
??selfLfuture/builtins/misc$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;??
???	??x?y?z?getMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)V???
????
??org/python/core/CodeLoader?createSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;??
??runMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V??
??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;
?y
?org/python/core/PyRunnable Lorg/python/compiler/APIVersion;value%Lorg/python/compiler/MTime;`9 G?Lorg/python/compiler/Filename;^/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/future/builtins/misc.pyorg/python/core/ThreadState?CodeLineNumberTableStackMap
SourceFileRuntimeVisibleAnnotations!?????y??*+??+%??W+'??N-S-+?"N-2:+?%:+*?+?)+?0?4?s++?6?N-8S-+?"N-2:+8?%:+,?:?N-S-@S-+?"N-2:+<?%:-2:+>?%:-2:+@?%:+-?B?N-DS-FS-+?"N-2:+H?%:-2:+J?%:+.?B+?NN+B-?%N+1?+B?)P?0N+P-?%N+9?+R?)N+T-?%N+;?V?N-XS-+?"N-2:+Z?%:+?h?N-jS-+?"N-2:+j?%:+@?+l?),?pN+r-?%N+B??-N+r?)-__S?tY+?x-??{???N+F-?%N+_???Y?-Y?SY8?SYF?SY	`?SY
f?S??N+?-?%N?]+c??+?NN+?-?%N+d?+ƶ)?0N+>-?%N+l?+ƶ)8?0N+8-?%N+m?+ƶ)F?0N+F-?%N+n?+ƶ)`?0N+`-?%N+o?+ƶ)f?0N+f-?%N+q???Y?ʷ?N+?-?%N+?????v%'*+,-.19;<=>@B_cdefghjklmnoq&??!?y??+H?{?W+J?+P?~,+??+j?~???4?$+K?+??~,+????N+-??N?+L?+P?~,+??+j?~???4?$+M?+??~,+????N+-??N?+N?+P?~,+??+j?~???4?$+O?+??~,+????N+-??N?+R?+??N+r?~-_??N?4?%+S?+J?~,+??+????N+??-?+U?+J?~,+??+??+????N+??-?+??:+??~????+W?+??:+r?~_??:?4?.+X?+J?~,+???????+????N+??-?+Z?+J?~,+???????+??+????N+??-?????:?3:?3::?6
HJKLMNORSUWXZ?	N??????:??????????????_
S*??*???M,+????ڳ??M,?S,?S,?S,+FB???ڳ?????ܰ	?? ??Y????*???	?????????&*,-? ?????M?? ??$??
I	J
s




© 2015 - 2024 Weber Informatics LLC | Privacy Policy