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:
Marc-André Lemburg 2000-08-24 14:16:10 +00:00
parent 156e7dfa35
commit a566ec95f8
1 changed files with 10 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Version: $Revision$
Author: mal@lemburg.com (Marc-Andre Lemburg)
Status: Draft
Type: Standards Track
Python-Version: 2.0
Python-Version: 2.1
Created: 23-Aug-2000
Post-History:
@ -105,6 +105,9 @@ Implementation
C.__doc__a__ == "attribute C.a doc-string (1)"
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
@ -130,7 +133,11 @@ Caveats of the Implementation
Since the definition of method "x" currently does not reset the
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
@ -140,7 +147,7 @@ Copyright
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