Module Expr Str Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier Assign NameStore CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore CompareLt AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore CompareGtE AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad Import alias Assign NameStore NameLoad If NameLoad body Import alias orelse TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias If NameLoad body Assign NameStore Lambda arguments args NameParam defaults NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str If NameLoad body Import alias ImportFrom alias identifier ImportFrom alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Return Call NameLoad SubscriptLoad Call NameLoad NameLoad Slice Num Num decorator_list Assign NameStore TupleLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list If NameLoad body Assign NameStore NameLoad orelse FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpSub CompareGt NameLoad NameLoad CompareLt NameLoad NameLoad decorator_list ImportFrom alias Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad ImportFrom alias Import alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list orelse ImportFrom alias identifier Assign NameStore NameLoad ImportFrom alias alias alias alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias identifier Assign NameStore TupleLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args defaults vararg body If CompareEq Call NameLoad NameLoad Num body Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num Num TupleLoad ListComp Call NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Index Num Return Call NameLoad NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return For NameStore Call NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ImportFrom alias identifier Import alias If BoolOpOr NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr ImportFrom alias ImportFrom alias identifier If NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list orelse Exec Str FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list If NameLoad body Assign NameStore Call NameLoad NameLoad Str orelse FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Exec Str orelse Exec Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list Return Call NameLoad Str NameLoad Dict decorator_list ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body FunctionDef arguments args defaults vararg body Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad TryFinally body TryExcept body For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr finalbody While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body If Call NameLoad NameLoad body Assign NameStore TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad TupleLoad NameLoad NameLoad NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list NameLoad
N/A N/A Handle Python version/platform incompatibilities. N/A sys N/A N/A N/A threading N/A N/A N/A ImportError N/A N/A dummy_threading threading N/A py33 N/A N/A sys version_info N/A 3 3 N/A py32 N/A N/A sys version_info N/A 3 2 N/A py3k N/A N/A sys version_info N/A 3 0 N/A py2k N/A N/A sys version_info N/A 3 0 N/A py265 N/A N/A sys version_info N/A 2 6 5 N/A jython N/A N/A N/A sys platform startswith java N/A pypy N/A hasattr sys pypy_version_info N/A win32 N/A N/A N/A sys platform startswith win N/A cpython N/A N/A pypy N/A jython N/A collections N/A next next N/A py3k N/A N/A pickle N/A N/A N/A N/A cPickle pickle N/A N/A N/A ImportError N/A N/A pickle N/A py265 N/A N/A safe_kwarg N/A N/A N/A arg N/A arg N/A N/A safe_kwarg str N/A ArgSpec N/A N/A collections namedtuple ArgSpec N/A args varargs keywords defaults N/A py3k N/A N/A builtins inspect getfullargspec inspect_getfullargspec urllib.parse quote_plus unquote_plus parse_qsl quote unquote N/A configparser io StringIO io BytesIO byte_buffer inspect_getargspec N/A N/A func N/A N/A N/A N/A ArgSpec N/A N/A inspect_getfullargspec func N/A 0 4 N/A N/A string_types N/A str N/A binary_type bytes N/A text_type str N/A int_types N/A int N/A iterbytes iter u N/A N/A s N/A N/A N/A s N/A ue N/A N/A s N/A N/A N/A s N/A b N/A N/A s N/A N/A N/A N/A N/A s encode latin-1 N/A N/A py32 N/A N/A callable callable N/A callable N/A N/A fn N/A N/A N/A N/A hasattr fn __call__ N/A cmp N/A N/A a b N/A N/A N/A N/A N/A a b N/A a b N/A functools reduce N/A print_ N/A getattr builtins print N/A import_ N/A getattr builtins __import__ N/A itertools N/A itertools_filterfalse N/A itertools filterfalse N/A itertools_filter filter N/A itertools_imap map itertools zip_longest N/A base64 b64encode N/A N/A x N/A N/A N/A N/A N/A N/A N/A base64 b64encode x decode ascii N/A b64decode N/A N/A x N/A N/A N/A N/A N/A base64 b64decode N/A N/A x encode ascii N/A N/A inspect getargspec inspect_getfullargspec N/A inspect_getargspec inspect_getfullargspec urllib quote_plus unquote_plus quote unquote urlparse parse_qsl N/A ConfigParser configparser StringIO StringIO cStringIO StringIO byte_buffer N/A string_types N/A basestring N/A binary_type str N/A text_type unicode N/A int_types N/A int long iterbytes N/A N/A buf N/A N/A N/A N/A N/A ord byte N/A byte buf N/A u N/A N/A s N/A N/A N/A N/A unicode s utf-8 N/A ue N/A N/A s N/A N/A N/A N/A unicode s unicode_escape N/A b N/A N/A s N/A N/A N/A s N/A import_ N/A N/A N/A args N/A N/A N/A N/A len args 4 N/A N/A args N/A N/A args N/A 0 3 N/A N/A N/A str arg N/A arg N/A args N/A 3 N/A N/A __import__ args N/A N/A callable callable N/A cmp cmp N/A reduce reduce N/A base64 N/A b64encode N/A base64 b64encode N/A b64decode N/A base64 b64decode print_ N/A N/A N/A args kwargs N/A N/A fp N/A N/A kwargs pop file N/A sys stdout N/A N/A fp None N/A N/A N/A arg N/A enumerate args N/A N/A N/A N/A isinstance arg basestring N/A N/A arg N/A str arg N/A N/A N/A fp write arg N/A N/A itertools N/A itertools_filterfalse N/A itertools ifilterfalse N/A itertools_filter N/A itertools ifilter N/A itertools_imap N/A itertools imap itertools izip_longest zip_longest N/A time N/A N/A win32 jython N/A N/A time_func N/A time clock N/A N/A time_func N/A time time collections namedtuple operator attrgetter dottedgetter N/A py3k N/A reraise N/A N/A tp value tb cause N/A None None N/A N/A N/A cause None N/A N/A N/A value __cause__ cause N/A N/A N/A value __traceback__ tb N/A N/A N/A N/A value with_traceback tb N/A value N/A raise_from_cause N/A N/A exception exc_info N/A None N/A N/A N/A exc_info None N/A N/A exc_info N/A N/A sys exc_info N/A N/A exc_type exc_value exc_tb exc_info N/A N/A reraise N/A type exception exception tb exc_tb cause exc_value N/A N/A N/A def reraise(tp, value, tb=None, cause=None):
    raise tp, value, tb
 raise_from_cause N/A N/A exception exc_info N/A None N/A N/A N/A exc_info None N/A N/A exc_info N/A N/A sys exc_info N/A N/A exc_type exc_value exc_tb exc_info N/A N/A reraise N/A type exception exception tb exc_tb N/A N/A py3k N/A N/A exec_ N/A getattr builtins exec N/A exec_ N/A N/A func_text globals_ lcl N/A None N/A N/A N/A lcl None N/A N/A exec func_text in globals_ N/A N/A exec func_text in globals_, lcl N/A with_metaclass N/A N/A meta N/A bases N/A N/A Create a base class with a metaclass.

    Drops the middle class upon creation.

    Source: http://lucumr.pocoo.org/2013/5/21/porting-to-python-3-redux/

     metaclass N/A meta N/A N/A __call__ N/A type __call__ N/A __init__ N/A type __init__ __new__ N/A N/A cls name this_bases d N/A N/A N/A N/A this_bases None N/A N/A N/A N/A type __new__ cls name N/A d N/A N/A meta name bases d N/A N/A N/A N/A metaclass temporary_class None N/A N/A contextlib contextmanager N/A N/A contextlib nested N/A N/A N/A ImportError N/A nested N/A N/A N/A managers N/A N/A exits N/A N/A vars N/A N/A exc N/A None None None N/A N/A N/A N/A N/A mgr managers N/A N/A exit N/A mgr __exit__ N/A enter N/A mgr __enter__ N/A N/A N/A vars append N/A enter N/A N/A N/A exits append exit N/A N/A vars N/A N/A N/A N/A exc N/A N/A sys exc_info N/A N/A exits N/A N/A exit N/A N/A exits pop N/A N/A N/A N/A exit exc N/A N/A exc N/A None None None N/A N/A N/A N/A exc N/A N/A sys exc_info N/A N/A exc N/A None None None N/A N/A N/A reraise N/A exc N/A 0 N/A exc N/A 1 N/A exc N/A 2 N/A contextmanager