[Python-porting] Function annotation syntax for 2.7/3.5 compatibility and pasteurize
Michael Rans
mcarans at yahoo.co.uk
Thu Dec 15 10:45:40 EST 2016
More information about the Python-porting mailing list
Thu Dec 15 10:45:40 EST 2016
- Next message (by thread): [Python-porting] Function annotation syntax for 2.7/3.5 compatibility and pasteurize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Which is the correct way of doing function annotations that work in 2.7 and 3.5?https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-codeor http://python-future.org/func_annotations.html#func-annotations ? I have a feature request for pasteurize from Python Future - that it automatically convert Python 3.5 style function annotations to whatever is the correct format for 2.7. Is that possible? Thanks for all the good work! Cheers,Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-porting/attachments/20161215/3b8dd20a/attachment.html>
- Next message (by thread): [Python-porting] Function annotation syntax for 2.7/3.5 compatibility and pasteurize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-porting mailing list