Closed GoogleCodeExporter closed 9 years ago
A possibility to avoid SyntaxErrors when importing the __init__ files is to
wrap the
Python 2.6/3.0 relative import statements in strings:
try:
from module import *
except ImportError:
exec ("from .module import *")
Not pretty, but it works.
Original comment by lhae...@gmail.com
on 26 Oct 2008 at 4:56
Mandatory for Pympler 0.2.
* asizeof and tracker work with Python 3.0
* all muppy modules cannot be imported by Python 3.0 yet
Original comment by lhae...@gmail.com
on 7 Feb 2009 at 9:48
Original comment by lhae...@gmail.com
on 19 Feb 2011 at 3:04
Original issue reported on code.google.com by
lhae...@gmail.com
on 26 Oct 2008 at 1:34