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.
Created on 2012年09月01日 14:09 by Ramchandra Apte, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg169634 - (view) | Author: Ramchandra Apte (Ramchandra Apte) * | Date: 2012年09月01日 14:09 | |
Running the erronous code:
class X:
super_object = super()
fails with a SystemError("super(): __class__ cell not found")
The exception should be a NameError or SystemError.
|
|||
| msg169685 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年09月02日 03:04 | |
New changeset e2e4a0a49d2e by Benjamin Peterson in branch 'default': Make super() internal errors RuntimeError instead of SystemError (closes #15839) http://hg.python.org/cpython/rev/e2e4a0a49d2e |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:35 | admin | set | github: 60043 |
| 2012年09月02日 03:04:46 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg169685 resolution: fixed stage: resolved |
| 2012年09月02日 02:52:53 | benjamin.peterson | set | versions: + Python 3.4, - Python 2.7 |
| 2012年09月01日 14:09:18 | Ramchandra Apte | set | title: SystemError raised by super() should be NameError or RuntimeError -> SystemError raised by super() in erronous class should be NameError or RuntimeError |
| 2012年09月01日 14:09:00 | Ramchandra Apte | create | |