Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
Thanks for the report! I would say that deriving from the future class without calling super().__init__() is an error. After fixing this the snippet raises expected "RuntimeError: yield was used instead of yield from in task" error. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38785> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com