From 0905f214a788d2f5a42d6a1522c0c776801abd89 Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Oct 25 2018 14:08:43 +0000 Subject: 133 - Python 3.7 --- diff --git a/modules/release-notes/pages/developers/Development_Python.adoc b/modules/release-notes/pages/developers/Development_Python.adoc index 492b2a7..ae92693 100644 --- a/modules/release-notes/pages/developers/Development_Python.adoc +++ b/modules/release-notes/pages/developers/Development_Python.adoc @@ -4,11 +4,23 @@ include::{partialsdir}/entities.adoc[] [[sect-python]] = Python +== Python 3.7 + +Fedora 29 intoduces *Python 3.7*, which adds numerous new features and optimizations compared to version 3.6, which was the default Python 3 stack in Fedora 28. +Notable changes include: + +* `async` and `await` are now reserved keywords. +* The `asyncio` module has received new features and significant usability and performance improvements. +* The `time` module has gained support for functions with nanosecond resolution. + +See link:++https://docs.python.org/3/whatsnew/3.7.html++[What's new in Python 3.7] and link:++https://www.python.org/dev/peps/pep-0537/#features-for-3-7++[Features for 3.7] for more information. +If you have your own Python apps, see link:++https://docs.python.org/3/whatsnew/3.7.html#porting-to-python-3-7++[Porting to Python 3.7] for information about compatibility-breaking changes and how to fix your applications. + == No more automagic Python bytecompilation The current way of automatic *Python* byte-compiling of files outside Python-specific directories is too magical and error-prone. It is built on heuristics that are increasingly wrong. -This change provides a way to opt out of it, and adjusts the guidelines to prefer explicit bytecompilation of such files. +This change provides a way to opt out of it, and adjusts the guidelines to prefer explicit bytecompilation of such files. Later, the old behavior will either become opt-in only, or cease to exist. Note that bytecompilation in Python-specific directories (e.g. [filename]`/usr/lib/python3.6/`) is not affected.