Completed final thought and bumped the Python version number to 2.1.
The great thing about this PEP is that it is forward compatible :-)
This commit is contained in:
parent
156e7dfa35
commit
a566ec95f8
13
pep-0224.txt
13
pep-0224.txt
|
@ -4,7 +4,7 @@ Version: $Revision$
|
||||||
Author: mal@lemburg.com (Marc-Andre Lemburg)
|
Author: mal@lemburg.com (Marc-Andre Lemburg)
|
||||||
Status: Draft
|
Status: Draft
|
||||||
Type: Standards Track
|
Type: Standards Track
|
||||||
Python-Version: 2.0
|
Python-Version: 2.1
|
||||||
Created: 23-Aug-2000
|
Created: 23-Aug-2000
|
||||||
Post-History:
|
Post-History:
|
||||||
|
|
||||||
|
@ -105,6 +105,9 @@ Implementation
|
||||||
C.__doc__a__ == "attribute C.a doc-string (1)"
|
C.__doc__a__ == "attribute C.a doc-string (1)"
|
||||||
C.__doc__b__ == "attribute C.b doc-string (2)"
|
C.__doc__b__ == "attribute C.b doc-string (2)"
|
||||||
|
|
||||||
|
A patch to the current CVS version of Python 2.0 which implements
|
||||||
|
the above is available on SourceForge at [1].
|
||||||
|
|
||||||
|
|
||||||
Caveats of the Implementation
|
Caveats of the Implementation
|
||||||
|
|
||||||
|
@ -130,7 +133,11 @@ Caveats of the Implementation
|
||||||
|
|
||||||
Since the definition of method "x" currently does not reset the
|
Since the definition of method "x" currently does not reset the
|
||||||
used assignment name variable, it is still valid when the compiler
|
used assignment name variable, it is still valid when the compiler
|
||||||
reaches [TBD: please finish your thought!]
|
reaches the docstring "b's doc string" and thus assigns the string
|
||||||
|
to __doc__b__.
|
||||||
|
|
||||||
|
A possible solution to this problem would be resetting the name
|
||||||
|
variable for all non-expression nodes.
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
|
@ -140,7 +147,7 @@ Copyright
|
||||||
|
|
||||||
References
|
References
|
||||||
|
|
||||||
[1] http://sourceforge.net/patch/?func=detailpatch&patch_id=XXX&group_id=5470
|
[1] http://sourceforge.net/patch/?func=detailpatch&patch_id=101264&group_id=5470
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue