cpython/Doc/reference
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
..
compound_stmts.rst Issue #9232: Support trailing commas in function declarations. 2015-08-12 08:00:06 +12:00
datamodel.rst Issue #25523: Further a-to-an corrections new in 3.5 2015-11-02 04:20:33 +00:00
executionmodel.rst #25679: spelling fix 2015-11-20 09:57:20 -05:00
expressions.rst Issue #25161: Merge full stops from 3.4 into 3.5 2015-10-10 10:44:25 +00:00
grammar.rst
import.rst Issue #25791: Warn when __package__ != __spec__.parent. 2016-01-22 15:25:50 -08:00
index.rst
introduction.rst Fixing broken links in doc, part 3: the rest 2014-10-29 10:26:56 +01:00
lexical_analysis.rst Issue #24531: Document that encoding lines cannot follow non-comment lines. 2015-08-06 21:14:34 +12:00
simple_stmts.rst merge with 3.4 2014-10-31 10:39:29 +01:00
toplevel_components.rst #22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse) 2014-10-31 10:38:49 +01:00