[New-bugs-announce] [issue46175] Zero argument super() does not function properly inside generator expressions
Alex Walters
report at bugs.python.org
Fri Dec 24 22:25:41 EST 2021
New submission from Alex Walters <tritium-list at sdamon.com>:
When zero argument super is used inside a generator expression, it raises 'TypeError: super(type, obj): obj must be an instance or subtype of type'.
I can find no information on if this is working as intended, a bug, or a known issue, and the error isn't helping. Attached is a minimal example of the error.
----------
files: superbug.py
messages: 409166
nosy: tritium
priority: normal
severity: normal
status: open
title: Zero argument super() does not function properly inside generator expressions
versions: Python 3.9
Added file: https://bugs.python.org/file50518/superbug.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46175>
_______________________________________
More information about the New-bugs-announce
mailing list