This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dima.Tisnek
Recipients Dima.Tisnek, asvetlov, graingert, lukasz.langa, ncoghlan, yselivanov
Date 2021-12-20.01:55:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639965303.1.0.0286947167558.issue45996@roundup.psfhosted.org>
In-reply-to
Content
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")
History
Date User Action Args
2021-12-20 01:55:03Dima.Tisneksetrecipients: + Dima.Tisnek, ncoghlan, asvetlov, lukasz.langa, yselivanov, graingert
2021-12-20 01:55:03Dima.Tisneksetmessageid: <1639965303.1.0.0286947167558.issue45996@roundup.psfhosted.org>
2021-12-20 01:55:03Dima.Tisneklinkissue45996 messages
2021-12-20 01:55:02Dima.Tisnekcreate