Message408939
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") |
|
Date |
User |
Action |
Args |
2021-12-20 01:55:03 | Dima.Tisnek | set | recipients:
+ Dima.Tisnek, ncoghlan, asvetlov, lukasz.langa, yselivanov, graingert |
2021-12-20 01:55:03 | Dima.Tisnek | set | messageid: <1639965303.1.0.0286947167558.issue45996@roundup.psfhosted.org> |
2021-12-20 01:55:03 | Dima.Tisnek | link | issue45996 messages |
2021-12-20 01:55:02 | Dima.Tisnek | create | |
|