Python Forum

Full Version: Python 3.6 Released
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is a big release,with 16 new PEP(Python Enhancement Proposals) and ordered dictionary python 
What's new in Python 3.6 (Brett Cannon)
interesting


I compiled it after watching to see this one feature. 
Quote:
metulburr@ubuntu:~/Downloads/Python-3.6.0$ ./python 
Python 3.6.0 (default, Dec 23 2016, 08:10:54) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> var = 123
>>> f'this is my string {var}'
'this is my string 123'
Is it stable? How to keep an old 3.5.2 version along with 3.6? Ubuntu MATE
(Dec-23-2016, 02:15 PM)wavic Wrote: [ -> ]How to keep an old 3.5.2 version along with 3.6?
Im not sure if i am going to use it or not. I tend to have problems with some 3rd party libs and latest python releases. So to just try it i just compiled it and ran it there

./configure
make
./python
Hm! A lots of libraries are still on 2.7 and now 3.6 is on the stage with big changes. Is it compatible with 3.5 at least?

Have you tried a 3.5 string formatting with the 3.6? For example
(Dec-23-2016, 02:54 PM)wavic Wrote: [ -> ]Is it compatible with 3.5 at least?

Have you tried a 3.5 string formatting with the 3.6? For example
Its not code breaking. its additions.
(Dec-23-2016, 03:14 PM)metulburr Wrote: [ -> ]Its not code breaking. its additions.

Good to know  Big Grin This deserves a drink  Doh
Super excited about string interpolation :)
I had problems trying to install on windows 7 pro.
Will try again tonight
Don't know what I did wrong, installed seamlessly second attempt
The async generators & comprehensions look interesting, capability of yield and await in same routine.