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


Groups > comp.lang.python > #92188

Re: [RELEASED] Python 3.5.0b2 is now available

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'example:': 0.11; 'jan': 0.11; 'syntax': 0.13; 'def': 0.14; 'file,': 0.15; 'interpreter': 0.15; 'annotations.': 0.16; 'did.': 0.16; 'fly': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'runs': 0.18; 'subject:] ': 0.19; 'pass': 0.22; 'am,': 0.23; 'file.': 0.24; 'import': 0.24; 'seems': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'error': 0.27; 'command': 0.28; 'specifically': 0.28; 'fine': 0.29; 'terry': 0.29; 'random': 0.29; 'code': 0.31; 'run': 0.32; 'idle': 0.33; 'editor': 0.34; 'add': 0.34; 'to:addr:python-list': 0.35; 'fail': 0.35; 'but': 0.36; 'release': 0.37; "won't": 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'more': 0.62; 'subject:now': 0.81; 'post,': 0.84; 'received:fios.verizon.net': 0.91; 'subject:available': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: [RELEASED] Python 3.5.0b2 is now available
Date Sat, 06 Jun 2015 16:37:32 -0400
References <556BE1A7.1090101@hastings.org> <556C469A.2070806@mrabarnett.plus.com> <mkih15$rtr$1@ger.gmane.org> <556CDC7A.6070302@mrabarnett.plus.com> <CAB1GNpRYAPbrO5poQws-5ar25y8QaGdjW_-_z9HNoUEVqCTxuw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-98-114-97-173.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To <CAB1GNpRYAPbrO5poQws-5ar25y8QaGdjW_-_z9HNoUEVqCTxuw@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.219.1433623098.13271.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1433623098 news.xs4all.nl 2832 [2001:888:2000:d::a6]:38765
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92188

Show key headers only | View raw


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 comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web