This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tjd.rodgers
Recipients cool-RR, eric.snow, kmtracey, rfk, tjd.rodgers
Date 2012-11-14.13:05:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352898314.12.0.131747049841.issue8400@psf.upfronthosting.co.za>
In-reply-to
Content
It gets worse. Even though find_module works with the path separator, load_module fails.


>>> zi.find_module("lib\\ui")
<zipimporter object "dist/Test_Editor-1.0-py3.2.zip">
>>> zi.load_module("lib\\ui")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "dist/Test_Editor-1.0-py3.2.zip\lib\ui\__init__.py", line 9, in <module>
  File "dist\Test_Editor-1.0-py3.2.zip\lib\ui\texteditorwindow.py", line 5, in <module>
  File "dist\Test_Editor-1.0-py3.2.zip\lib\ui\designer\__init__.py", line 5, in <module>
ValueError: Attempted relative import beyond toplevel package
History
Date User Action Args
2012-11-14 13:05:14tjd.rodgerssetrecipients: + tjd.rodgers, kmtracey, rfk, cool-RR, eric.snow
2012-11-14 13:05:14tjd.rodgerssetmessageid: <1352898314.12.0.131747049841.issue8400@psf.upfronthosting.co.za>
2012-11-14 13:05:14tjd.rodgerslinkissue8400 messages
2012-11-14 13:05:13tjd.rodgerscreate