Message75250
| 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:05 | brett.cannon | set | recipients:
+ brett.cannon |
| 2008年10月27日 02:42:05 | brett.cannon | set | messageid: <1225075325.55.0.00322854082077.issue4211@psf.upfronthosting.co.za> |
| 2008年10月27日 02:42:04 | brett.cannon | link | issue4211 messages |
| 2008年10月27日 02:42:02 | brett.cannon | create |
|