Issue2312
Created on 2008-03-16 21:38 by gvanrossum, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| 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) * ![]() |
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) * ![]() |
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) * ![]() |
Date: 2009-03-11 19:00 | |
Thanks! Reviewing now... |
|||
| msg83477 - (view) | Author: Guido van Rossum (gvanrossum) * ![]() |
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.) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:31 | admin | set | github: 46565 |
| 2009-03-11 19:15:44 | gvanrossum | set | status: open -> closed messages:
+ msg83477 |
| 2009-03-11 19:00:39 | gvanrossum | set | assignee: georg.brandl -> gvanrossum messages: + msg83476 |
| 2009-03-11 17:34:17 | lieryan | set | files: + pep-3135.diff |
| 2009-03-11 16:31:29 | gvanrossum | set | messages: + msg83474 |
| 2009-03-11 09:17:56 | lieryan | set | files:
+ pep3135 nosy: + lieryan messages: + msg83462 |
| 2008-03-16 21:38:56 | gvanrossum | create | |
