Message258400
As I commented on another issue, I think I'm going to tweak the change to continue to prefer __package__, but raise ImportWarning when it doesn't match __spec__.parent. Once we do that for all attributes we can wait until Python 2.7 is done and then swap priority to __spec__ and raise a DeprecationWarning if __spec__ is missing. That way post-Python 2.7 we can move entirely to a spec-based import system. |
|
Date |
User |
Action |
Args |
2016-01-16 18:18:45 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, python-dev, eric.snow, superluser |
2016-01-16 18:18:45 | brett.cannon | set | messageid: <1452968325.94.0.0534199112134.issue25791@psf.upfronthosting.co.za> |
2016-01-16 18:18:45 | brett.cannon | link | issue25791 messages |
2016-01-16 18:18:45 | brett.cannon | create | |
|