New submission from Ramchandra Apte:

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.

----------
components: None
messages: 169634
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: SystemError raised by super() should be NameError or RuntimeError
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15839>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to