Package proton :: Module _compat
[frames] | no frames]

Module _compat

source code

Utilities to help Proton support both python2 and python3.

Functions
 
raise_(t, v=None, tb=None)
Mimic the old 2.x raise behavior: Raise an exception of type t with value v using optional traceback tb
source code
 
iteritems(d, **kw) source code
 
socket_errno(e) source code
Variables
  PY3 = False
  __package__ = 'proton'