Python 3.7¶
New Features:
Feature  | 
Status  | 
|
Coercing the legacy C locale to a UTF-8 based locale  | 
||
A New C-API for Thread-Local Storage in CPython  | 
||
UTF-8 mode  | 
||
Deterministic pyc  | 
||
Built-in   | 
||
Data Classes  | 
||
Core support for typing module and generic types  | 
||
Module   | 
Partial  | 
|
Postponed Evaluation of Annotations  | 
||
Time functions with nanosecond resolution  | 
Partial [1]  | 
|
Show DeprecationWarning in   | 
||
Context Variables  | 
||
Other Language Changes:
  | 
Complete  | 
  | 
|
More than 255 arguments can now be passed to a function; a function can now have more than 255 parameters  | 
|
  | 
|
  | 
|
  | 
|
Circular imports involving absolute imports with binding a submodule to a name are now supported  | 
|
  | 
|
In order to better support dynamic creation of stack traces,   | 
|
When using the   | 
|
The new   | 
Changes to built-in modules:
Too many to list  | 
|
New features include gc.freeze(), gc.unfreeze(), gc-get_freeze_count  | 
|
math.remainder() added to implement IEEE 754-style remainder  | 
|
A number of tidy up features including better support for splitting on empty strings and copy support for compiled expressions and match objects  | 
|
sys.breakpointhook() added. sys.get(/set)_coroutine_origin_tracking_depth() added  | 
|
Mostly updates to support nanosecond resolution in PEP564, see above  | 
Notes