Gregory P. Smith <g...@krypto.org> added the comment:

I expect your overall logic is sound in the PR. But this is a public API 
change, and while we've typically exempted lib2to3 from needing to concern 
itself about deprecations and API changes by leaving it undocumented and 
explicitly promising not to care about this module in that sense... Enough 
things use it today that we should probably not do that anymore.

Especially given that we're considering it a deprecated library these days. It 
isn't likely to stand up well to 3.10+'s new grammar.

Various projects have forked lib2to3 into their own maintained thing either 
directly on PyPI or as an internalized third_party fork within their own 
project (as I believe Black has done?). It is probably best to do that for 
changes of this nature rather than push for them to be included in a future 
stdlib lib2to3.

See https://bugs.python.org/issue40360 for context.

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41655>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to