Thursday 22 March 2018 — This is almost seven years old. Be careful.
This is the third in a series of summarizations of what’s in each release of Python. The first two were What’s in which Python 2.x? and What’s in which Python 3.0–3.3?.
Update: I’ve now collected all the “What’s in which Python”s onto a single page: What’s in which Python.
3.4: March 16, 2014
- pip is always available, via ensurepip
- asyncio (provisional API)
- enum
- Other stdlib modules: statistics, pathlib, and tracemalloc
3.5: September 13, 2015
- async and await syntax
- matrix multiplication operator @
- more unpacking generalizations
- The typing module for type hints
- subprocess.run()
- os.scandir()
3.6: December 23, 2016
- f-strings
- kwargs and class attributes order is preserved
- dicts happen to be (but are not guaranteed to be) ordered
- underscores in numeric literals
- variable annotations
- secrets module in stdlib
Comments
By contrast, the language definition itself changed for 3.7, so any conformant implementation is expected to make their builtin dictionaries work that way.
first of all thank you very much for providing this knowledge on python version and in you blog you also tell about difference and what is new in next version. i hope soon i see you blog on python 3.7 because latest version of is 3.7 and please provide knowledge on that version also thank you very much
Add a comment: