Added pointer to features/pep-420 branch.
This commit is contained in:
parent
660b6e478c
commit
e7bef9d9f5
12
pep-0420.txt
12
pep-0420.txt
|
@ -19,7 +19,7 @@ versions, an algorithm to compute the packages ``__path__`` must be
|
|||
formulated. With the enhancement proposed here, the import machinery
|
||||
itself will construct the list of directories that make up the
|
||||
package. This PEP builds upon the work started in rejected PEPs 382
|
||||
and 402.
|
||||
and 402. An implementation of this PEP is at [1]_.
|
||||
|
||||
Terminology
|
||||
===========
|
||||
|
@ -162,10 +162,10 @@ as a namespace package, whereas in prior Python versions an
|
|||
ImportError would be raised.
|
||||
|
||||
At PyCon 2012, we had a discussion about namespace packages at which
|
||||
PEP 382 and PEP 402 were rejected, to be replaced by this PEP [1]_.
|
||||
PEP 382 and PEP 402 were rejected, to be replaced by this PEP [2]_.
|
||||
|
||||
Nick Coglan presented a list of his objections to this proposal
|
||||
[2]_. They are:
|
||||
[3]_. They are:
|
||||
|
||||
* Implicit package directories go against the Zen of Python
|
||||
|
||||
|
@ -184,10 +184,12 @@ Nick Coglan presented a list of his objections to this proposal
|
|||
References
|
||||
==========
|
||||
|
||||
.. [1] PyCon 2012 Namespace Package discussion outcome
|
||||
.. [1] PEP 420 branch (http://hg.python.org/features/pep-420)
|
||||
|
||||
.. [2] PyCon 2012 Namespace Package discussion outcome
|
||||
(http://mail.python.org/pipermail/import-sig/2012-March/000421.html)
|
||||
|
||||
.. [2] Nick Coglan's objection to the lack of marker files or directories
|
||||
.. [3] Nick Coglan's objection to the lack of marker files or directories
|
||||
(http://mail.python.org/pipermail/import-sig/2012-March/000423.html)
|
||||
|
||||
Copyright
|
||||
|
|
Loading…
Reference in New Issue