Message229257
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. |
|
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 | |
|