[Python-Dev] 2to3 for python annotations
Jelle Zijlstra
jelle.zijlstra at gmail.com
Tue Jul 17 16:17:17 EDT 2018
More information about the Python-Dev mailing list
Tue Jul 17 16:17:17 EDT 2018
- Previous message (by thread): [Python-Dev] 2to3 for python annotations
- Next message (by thread): [Python-Dev] 2to3 for python annotations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2018-07-17 12:37 GMT-07:00 Philippe Fremy <phil.fremy at free.fr>: > Hi, > > 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: https://github.com/ilevkivskyi/com2ann. 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. > Cheers, > > Philippe > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/ > jelle.zijlstra%40gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180717/07c68a6a/attachment.html>
- Previous message (by thread): [Python-Dev] 2to3 for python annotations
- Next message (by thread): [Python-Dev] 2to3 for python annotations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list