Accepted, but also added a note about a misfeature that should be

fixed.
This commit is contained in:
Guido van Rossum 2000-08-23 15:57:21 +00:00
parent 4f8df0f031
commit bdfc5f2d12
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@ PEP: 203
Title: Augmented Assignments
Version: $Revision$
Author: thomas@xs4all.net (Thomas Wouters)
Status: Draft
Status: Accepted
Type: Standards Track
Python-Version: 2.0
Created: 13-Jul-2000
@ -79,6 +79,9 @@ Proposed semantics
object or a new one. So if the original object is returned, it
should be INCREF()'d appropriately.
[XXX so I am accepting this, but I'm a bit worried about the
argument coercion. For x+=y, if x supports augmented assignment,
y should only be cast to x's type, not the other way around!]
Rationale