Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92188 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2015-06-06 16:37 -0400 |
| Last post | 2015-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.
Re: [RELEASED] Python 3.5.0b2 is now available Terry Reedy <tjreedy@udel.edu> - 2015-06-06 16:37 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-06-06 16:37 -0400 |
| Subject | Re: [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
Back to top | Article view | comp.lang.python
csiph-web