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 <>
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:32pitrousetrecipients: + pitrou, barry, brett.cannon, pje, ncoghlan, kristjan.jonsson, methane, eric.snow, serhiy.storchaka, pconnell, isoschiz, Pascal.Chambon
2014-10-13 18:15:32pitrousetmessageid: <>
2014-10-13 18:15:32pitroulinkissue17636 messages
2014-10-13 18:15:32pitroucreate