New submission from Alex Walters <tritium-l...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue46175> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com