Message229257
| Author |
pitrou |
| Recipients |
Pascal.Chambon, barry, brett.cannon, eric.snow, isoschiz, kristjan.jonsson, methane, ncoghlan, pconnell, pitrou, pje, serhiy.storchaka |
| Date |
2014年10月13日.18:15:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1413224132.44.0.0384273331688.issue17636@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Actually, looking up __package__ would be wrong.
Say I have: from pack.module import foo
and "foo" doesn't exist in pack.module but exists in pack.
Since pack.module.__package__ == "pack", using __package__ would wrongly find the "foo" in pack. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年10月13日 18:15:32 | pitrou | set | recipients:
+ pitrou, barry, brett.cannon, pje, ncoghlan, kristjan.jonsson, methane, eric.snow, serhiy.storchaka, pconnell, isoschiz, Pascal.Chambon |
| 2014年10月13日 18:15:32 | pitrou | set | messageid: <1413224132.44.0.0384273331688.issue17636@psf.upfronthosting.co.za> |
| 2014年10月13日 18:15:32 | pitrou | link | issue17636 messages |
| 2014年10月13日 18:15:32 | pitrou | create |
|