Python 3.5 In Preview
Python 3.5 In Preview
Written by Kay Ewbank   
Thursday, 09 July 2015

The third beta of Python 3.5 is now available for early adopters. Since entering its beta phase Python 3.5 is in ‘feature freeze’, so no new features will be added.

 

pythonbanner

 

Python 3.5 has two new syntax features – a new matrix multiplication operator a @ b, and support for coroutines with async and await syntax. The support for coroutines has a goal of establishing a common, easily approachable, mental model of asynchronous programming in Python, and of making it as close to synchronous programming as possible.

A new library module, zipapp, has also been added to improve Python ZIP application support. The new module provides an API and command line tool for creating executable Python Zip Applications. These were introduced in Python 2.6 but have not received much publicity. The new module means you can bundle an app by putting all the files, including a __main__.py file, into a directory myapp and running two commands:

$ python -m zipapp myapp

$ python myapp.pyz

Other improvements add % formatting to bytes and bytearray; a hex method has been added to bytes, bytearray, and memoryview; generators have a new gi_yieldfrom attribute, which returns the object being iterated by yield from expressions; and there’s a new RecursionError exception.

Some library modules have been significantly improved. In particular, collections.OrderedDict is now implemented in C, which improves its performance between four and 100 times.

The new version is a preview release and is not recommended for use in production settings. There is one more beta, expected at the end of July, to be followed in August by the first of three release candidates. The final version is scheduled for September 13, 2015.

 

 

python3

Banner


Intel Ships New RealSense Cameras Is This The Kinect Replacement We Have Been Looking For?
26/01/2018

With Microsoft stopping the production of the Kinect, the Intel RealSense family of cameras seems like the obvious replacement. But there are problems - can we trust Intel to keep the hardware in prod [ ... ]



Slalom Skiing New Robot Sport
17/02/2018

The world’s first robot ski tournament was staged this week in South Korea alongside the PyeongChang Winter Olympics with eight humanoid robots taking part. It was the smallest robot that won the $1 [ ... ]


More News

 

 
 

 

blog comments powered by Disqus

Last Updated ( Thursday, 09 July 2015 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.