Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92188 > unrolled thread

Re: [RELEASED] Python 3.5.0b2 is now available

Started byTerry Reedy <tjreedy@udel.edu>
First post2015-06-06 16:37 -0400
Last post2015-06-06 16:37 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RELEASED] Python 3.5.0b2 is now available Terry Reedy <tjreedy@udel.edu> - 2015-06-06 16:37 -0400

#92188 — Re: [RELEASED] Python 3.5.0b2 is now available

FromTerry Reedy <tjreedy@udel.edu>
Date2015-06-06 16:37 -0400
SubjectRe: [RELEASED] Python 3.5.0b2 is now available
Message-ID<mailman.219.1433623098.13271.python-list@python.org>
On 6/6/2015 5:24 AM, Joonas Liik wrote:
> 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.

On Win7, 3.5b2, this runs fine both from Idle editor and command line. 
Following on Steven's post, add
import sys; print(sys.version)
to top of file, as I did.

-- 
Terry Jan Reedy

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web