|
|
Subscribe / Log in / New account

Python 3.8.0 released

Version 3.8.0 of the Python language has been released. New features include the controversial assignment expressions, positional-only arguments, the Vectorcall mechanism, and more; see the what's new in Python 3.8 document for more information.

to post comments

Python 3.8.0 released

Posted Oct 15, 2019 3:50 UTC (Tue) by bof (subscriber, #110741) [Link]

Whoa! Unexpected Goodness!

https://docs.python.org/3.8/whatsnew/3.8.html#parallel-fi...

As a sysadmin, having worked around that cruft with extra --exclude on rsync and in similar places, that is a very welcome addition, to the point where I'll think about forcing python3 wrappers through my own deploy packaging to apply that universally on my self managed installs.

Python 3.8.0 released

Posted Oct 15, 2019 16:20 UTC (Tue) by NYKevin (subscriber, #129325) [Link]

> A continue statement was illegal in the finally clause due to a problem with the implementation. In Python 3.8 this restriction was lifted. (Contributed by Serhiy Storchaka in bpo-32489.)

That has to be one of the oldest bugs in Python, going at least as far back as Python 2.0 (see https://docs.python.org/2.0/ref/continue.html).

(I'm struggling to think of a scenario where you would want to put a continue in a finally block, but it's still a bug of extraordinary seniority. Also, I am impressed with the PSF's commitment to the "cool URIs don't change" ideal. Most websites break links every five years or so, but the above link is from 2001!)


Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds