This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Update PEP 3135 (super())
Type: Stage:
Components: Documentation Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: georg.brandl, gvanrossum, lieryan
Priority: normal Keywords: patch

Created on 2008-03-16 21:38 by gvanrossum, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
pep3135 lieryan, 2009-03-11 09:17 the new PEP
pep-3135.diff lieryan, 2009-03-11 17:34 diff for the PEP
Messages (6)
msg63600 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-03-16 21:38
The super() PEP currently is completely wrong w.r.t. reality.  The
implementation is solid and won't change.  The PEP just needs to be
rewritten to match reality.
msg83462 - (view) Author: Lie Ryan (lieryan) Date: 2009-03-11 09:17
The possible new PEP 3135, however I'm not that familiar with the
implementation of the new super, thus please review whether it is "right
w.r.t. reality". I'm writing only from whatever I can determine from
observing the behavior of super in python 3.0.1

Probably not related, but while playing with super, I noticed several
things, I'm not sure about whether this is bug or design decision:
- super() in normal function is SystemError, instead of SyntaxError or a
more descriptive error

btw, is "__class__" related to "__this_class__" alt implementation? I
assume yes, so I removed the alt implementation for __this_class__
msg83474 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2009-03-11 16:31
Thanks for contributing. However since you reformatted the whole file
it's kind of hard to see what you changed, which makes review laborious.
Could you try to upload a unified diff relative to the PEP source code
in Subversion?
msg83475 - (view) Author: Lie Ryan (lieryan) Date: 2009-03-11 17:34
Here is the unified diff.
msg83476 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2009-03-11 19:00
Thanks! Reviewing now...
msg83477 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2009-03-11 19:15
Submitted as revision 70312, with some additional changes.  I suppose it
could use some more work (e.g. adding the penultimate proposal to the
History section) but I'll leave that to others.  (Lie, if you feel like
writing that history section, just add it to this bug.)
Date User Action Args
2022-04-11 14:56:31adminsetgithub: 46565
2009-03-11 19:15:44gvanrossumsetstatus: open -> closed

messages: + msg83477
resolution: fixed
2009-03-11 19:00:39gvanrossumsetassignee: georg.brandl -> gvanrossum
messages: + msg83476
2009-03-11 17:34:17lieryansetfiles: + pep-3135.diff

messages: + msg83475
keywords: + patch
2009-03-11 16:31:29gvanrossumsetmessages: + msg83474
2009-03-11 09:17:56lieryansetfiles: + pep3135
nosy: + lieryan
messages: + msg83462

2008-03-16 21:38:56gvanrossumcreate