| |
@@ -4,11 +4,23 @@
|
| |
[[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.
|
| |
Fixes #133.