Brett Cannon 849113af6b Issue #25791: Warn when __package__ != __spec__.parent.
In a previous change, __spec__.parent was prioritized over
__package__. That is a backwards-compatibility break, but we do
eventually want __spec__ to be the ground truth for module details. So
this change reverts the change in semantics and instead raises an
ImportWarning when __package__ != __spec__.parent to give people time
to adjust to using spec objects.
2016-01-22 15:25:50 -08:00
..
2015-08-24 20:23:27 -07:00
2016-01-18 07:53:59 +01:00
2016-01-20 11:12:38 +01:00
2016-01-22 14:09:55 +01:00
2015-11-10 12:11:52 +01:00
2015-12-29 10:08:51 -06:00
2016-01-20 11:19:46 +01:00

Miscellaneous source files for the main Python shared library