Message103102
At work we are in the process of migrating from Python 2.4 to 2.6. One
bit of Boost.Python code needs to use PyImport_ImportModuleLevel which
references the __import__ docs. That describes the use of the level arg.
I then went around looking for examples and didn't find much, certainly not in the Lib/test directory. I only saw a couple examples which used
level and they both use level=0, so don't test relative imports or
level=-1.
I don't know that I have enough knowledge of how this stuff is supposed
to work, but will give it a shot. |
|
Date |
User |
Action |
Args |
2010-04-14 00:03:32 | skip.montanaro | set | recipients:
+ skip.montanaro |
2010-04-14 00:03:32 | skip.montanaro | set | messageid: <1271203412.15.0.504789215632.issue8392@psf.upfronthosting.co.za> |
2010-04-14 00:03:30 | skip.montanaro | link | issue8392 messages |
2010-04-14 00:03:30 | skip.montanaro | create | |
|