[issue33337] Provide a supported Concrete Syntax Tree implementation in the standard library

Łukasz Langa report at bugs.python.org
Wed Apr 25 17:15:09 EDT 2018


Łukasz Langa <lukasz at langa.pl> added the comment:

[njs]
> "there's a bug in handling this python 2 code, so black won't be able to reformat it until the next major python release"

Nah, we're still allowed to fix bugs in micro releases.  We should have more of those instead of sitting on fixed bugs for months.  That's a discussion for a different venue though.


[gutworth]
> The stdlib is a bad place for anything that needs to evolve at a non-glacial place.

The syntax tree only needs to evolve to keep up with current Python development.  That's why I think it makes sense to tie the two.


[gvr]
> please consider seriously to move to a 3rd party package

Does that also invalidate the idea to merge the tokenizers?

And if so, does that also invalidate the idea to update lib2to3's tokenizer (BPO-33338)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33337>
_______________________________________


More information about the Python-bugs-list mailing list