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 benjamin.peterson, brett.cannon, eric.snow, scoder
Date 2012-04-17.16:03:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334678605.39.0.278994652324.issue14592@psf.upfronthosting.co.za>
In-reply-to
Content
Detecting if you are in a package is as simple as ``'.' in __name__ or hasattr(mod, '__path__')`` or alternatively for the last guard, ``__name__ == __package__``.

As for the failure, I will have a look.
History
Date User Action Args
2012-04-17 16:03:25brett.cannonsetrecipients: + brett.cannon, scoder, benjamin.peterson, eric.snow
2012-04-17 16:03:25brett.cannonsetmessageid: <1334678605.39.0.278994652324.issue14592@psf.upfronthosting.co.za>
2012-04-17 16:03:24brett.cannonlinkissue14592 messages
2012-04-17 16:03:24brett.cannoncreate