Message108874
It looks like there is a bunch of legacy relative import cruft kicking around in Python 3. The first thing I noticed is that __import__.__doc__ claims that level=-1 is the default (i.e. use the Python 2 behavior). A little testing shows that the docs don't lie and __import__ in Python 3 defaults trying a relative import first.
What is the status of implicit relative imports in Python 3? Can the level=-1 code be removed? |
|
Date |
User |
Action |
Args |
2010-06-28 22:24:23 | nas | set | recipients:
+ nas |
2010-06-28 22:24:23 | nas | set | messageid: <1277763863.2.0.681054558963.issue9109@psf.upfronthosting.co.za> |
2010-06-28 22:24:21 | nas | link | issue9109 messages |
2010-06-28 22:24:20 | nas | create | |
|