Dima Tisnek <dim...@gmail.com> added the comment:
Andrew, I see that you've closed this issue as "fixed". I'm a little confused by that. If you mean that 3.10 behaviour is better than 3.9, than perhaps "not a bug / rejected / wont fix" would make more sense. Actually I don't agree with Thomas's logic... his argument feels like consistency for its own sake. I agree with the intention of the change for the arguments to be released (https://bugs.python.org/issue30306) but I disagree with the cryptic error. I'm sure we could have both argument release and readable exception, e.g.: try: del self.args, ... except AttributeError: raise RuntimeError("anext(): asynchronous generator is already running") ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45996> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com