diff options
author | adam <adam@pkgsrc.org> | 2019-10-15 16:50:10 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-10-15 16:50:10 +0000 |
commit | 49e4e3911149ba616d681914fc080c760fd16151 (patch) | |
tree | 809f4cc4f66179e0dc98b0cd6cd9b2d61e407c29 /lang/python | |
parent | 2f0031e370d10514aece9bfa8899c16cdcf4bede (diff) | |
download | pkgsrc-49e4e3911149ba616d681914fc080c760fd16151.tar.gz |
python38: added version 3.8.0
Major new features of the 3.8 series, compared to 3.7
PEP 572, Assignment expressions
PEP 570, Positional-only arguments
PEP 587, Python Initialization Configuration (improved embedding)
PEP 590, Vectorcall: a fast calling protocol for CPython
PEP 578, Runtime audit hooks
PEP 574, Pickle protocol 5 with out-of-band data
Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
Parallel filesystem cache for compiled bytecode
Debug builds share ABI as release builds
f-strings support a handy = specifier for debugging
continue is now legal in finally: blocks
on Windows, the default asyncio event loop is now ProactorEventLoop
on macOS, the spawn start method is now used by default in multiprocessing
multiprocessing can now use shared memory segments to avoid pickling costs between processes
typed_ast is merged back to CPython
LOAD_GLOBAL is now 40% faster
pickle now uses Protocol 4 by default, improving performance
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/pyversion.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk index 7777e62bb00..6f565753add 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.129 2019/04/26 09:44:59 roy Exp $ +# $NetBSD: pyversion.mk,v 1.130 2019/10/15 16:50:10 adam Exp $ # This file determines which Python version is used as a dependency for # a package. @@ -8,7 +8,7 @@ # PYTHON_VERSION_DEFAULT # The preferred Python version to use. # -# Possible values: 27 36 37 +# Possible values: 27 36 37 38 # Default: 37 # # === Infrastructure variables === @@ -27,13 +27,13 @@ # order of the entries matters, since earlier entries are # preferred over later ones. # -# Possible values: 37 36 27 -# Default: 37 36 27 +# Possible values: 38 37 36 27 +# Default: 38 37 36 27 # # PYTHON_VERSIONS_INCOMPATIBLE # The Python versions that are NOT acceptable for the package. # -# Possible values: 27 36 37 +# Possible values: 27 36 37 38 # Default: (empty) # # PYTHON_FOR_BUILD_ONLY @@ -85,7 +85,7 @@ BUILD_DEFS+= PYTHON_VERSION_DEFAULT BUILD_DEFS_EFFECTS+= PYPACKAGE PYTHON_VERSION_DEFAULT?= 37 -PYTHON_VERSIONS_ACCEPTED?= 37 36 27 +PYTHON_VERSIONS_ACCEPTED?= 38 37 36 27 PYTHON_VERSIONS_INCOMPATIBLE?= # empty by default # transform the list into individual variables |