[RELEASED] Python 3.5.0b2 is now available

Joonas Liik liik.joonas at gmail.com
Sat Jun 6 05:24:45 EDT 2015


Perhaps its just me, but it seems to me that this release is mighty picky
about annotations.

More specifically everything is fine in the interactive interpreter but the
same code won't fly when run as a file.

example:
def some_function(my_arg:"my random annotation")->"my random return type
annotation":
    pass

..will fail with a syntax error when run from a file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150606/9728605d/attachment.html>


More information about the Python-list mailing list