[Python-Dev] 2to3 for python annotations
jelle.zijlstra at gmail.com
Tue Jul 17 16:17:17 EDT 2018
2018-07-17 12:37 GMT-07:00 Philippe Fremy <phil.fremy at free.fr>:
> While contributing to pyannotate, I became familiar enough with 2to3
> fixers to be able to convert Python 2 style annotations to Python 3.
> Is it something that would be interesting to put into python 2to3 ? If
> so I would propose a PR for this.
> There already a tool that does this:
I am not sure it would be appropriate for 2to3. Type comments still work in
Python 3, and I feel like 2to3 should do the minimum necessary to get
working code in Python 3.
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev