Message411882
Thanks Nikita for the report. I agree, it's inelegant that this property leaks. Because this code is synced with importlib_metadata, I'm not sure it's worth the effort of changing it here. Your change here implies a cherry-pick to the backport and updating its changelog there too.
I'd be more inclined to accept a change like this on importlib_metadata, which has a faster iteration and whose changes get naturally incorporated into CPython periodically.
What's the harm in leaving this attribute on a class that is itself standing in for deprecated behavior and slated for removal? |
|
Date |
User |
Action |
Args |
2022-01-27 14:29:53 | jaraco | set | recipients:
+ jaraco, brett.cannon, sobolevn |
2022-01-27 14:29:53 | jaraco | set | messageid: <1643293793.56.0.992938845872.issue46546@roundup.psfhosted.org> |
2022-01-27 14:29:53 | jaraco | link | issue46546 messages |
2022-01-27 14:29:53 | jaraco | create | |
|