
So, strictly according to the
schedule , the first alpha version of Python 3.4 was released. The new version includes many improvements to the 3.x branch, including hundreds of minor improvements and bug fixes.
The main features of the current release 3.4:
- PEP 435, the “enum” module, which is now included in the standard library;
- PEP 442, improved semantics for object finalization;
- PEP 443, single-dispatch generic functions
- PEP 445, a new C API that allows custom memory allocators to be implemented.
You can pick up the link:
http://www.python.org')
Full list of innovationsWhat's new?New syntax features:
New built-in modules:
Implementation improvements:
Embedded improvements:
- hashlib adds support for SHA-3 (Keccak);
- ssl now supports TLSv1.1 and TLSv1.2.
OptimizationUTF-32 decoder is now 3-4 times faster.
PEP 445 : Added new API to customize memory allocators in PythonIt took to use in CPython, but it is not excluded that it is useful for other purposes.
PEP 442 : Secure Object FinalizationThis PEP removes all current tricks and limitations regarding the finalization of the object. With it, objects with
__del __ () methods, as well as
finally generators, can also be finalized when they are part of the “reference cycle”. According to the new scheme, the object finalizer is always called exactly once. In addition, for this PEP, you will not need to change something in the already written code - objects with existing finalizers will follow this behavior automatically.