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 brett.cannon
Recipients brett.cannon
Date 2008-10-27.02:42:01
SpamBayes Score 2.1483038e-06
Marked as misclassified No
Message-id <1225075325.55.0.00322854082077.issue4211@psf.upfronthosting.co.za>
In-reply-to
Content
If you import a frozen package (e.g. __phello__), __path__ is set to
'__phello__'. But this should be a list as specified by both PEP 302
(http://www.python.org/dev/peps/pep-0302/) and the original doc
outlining the package mechanism
(http://www.python.org/doc/essays/packages.html).

Changing import to put the string in a list is all that is needed to
correct this (although it might break some code relying on the fact that
it has been a string in previous versions).
History
Date User Action Args
2008-10-27 02:42:05brett.cannonsetrecipients: + brett.cannon
2008-10-27 02:42:05brett.cannonsetmessageid: <1225075325.55.0.00322854082077.issue4211@psf.upfronthosting.co.za>
2008-10-27 02:42:04brett.cannonlinkissue4211 messages
2008-10-27 02:42:02brett.cannoncreate