cpython/Doc/whatsnew
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
..
2.0.rst Marked keystrokes with the :kbd: role. 2015-09-12 17:45:25 +03:00
2.1.rst Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
2.2.rst
2.3.rst Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
2.4.rst
2.5.rst Marked keystrokes with the :kbd: role. 2015-09-12 17:45:25 +03:00
2.6.rst
2.7.rst Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
3.0.rst
3.1.rst Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
3.2.rst Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
3.3.rst Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
3.4.rst Fix some spelling errors in documentation and code comments 2015-10-31 11:48:53 +00:00
3.5.rst docs/whatsnew/3.5: Fix ref link 2015-12-15 00:38:28 -05:00
3.6.rst Issue #25791: Warn when __package__ != __spec__.parent. 2016-01-22 15:25:50 -08:00
changelog.rst
index.rst