Message158553
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. |
|
Date |
User |
Action |
Args |
2012-04-17 16:03:25 | brett.cannon | set | recipients:
+ brett.cannon, scoder, benjamin.peterson, eric.snow |
2012-04-17 16:03:25 | brett.cannon | set | messageid: <1334678605.39.0.278994652324.issue14592@psf.upfronthosting.co.za> |
2012-04-17 16:03:24 | brett.cannon | link | issue14592 messages |
2012-04-17 16:03:24 | brett.cannon | create | |
|