Up to [cvs.NetBSD.org] / pkgsrc / lang / python37 / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
python37, py37-html-docs: removed; end of life; use Python 3.8, 3.9, 3.10 or 3.11
lang/python37: Fix for macOS 11 and Apple Silicon (Apple Silicon being their aarch64 platform.) This is backport of the same in lang/python39 and lang/python38. Some parts weren't applicable in 3.7. The setup.py script needed some work on the ffi code. Otherwise, minor changes. Patches consist of: - Upstream work: https://github.com/python/cpython/pull/22855 - Fix for setup.py to find libbz2.tbd and libz.tbd now that with the shared library cache there's nothing in /usr/lib. See: https://bugs.python.org/issue41116 - Addition of __arch64__ case to fix _decimal module. A very similar fix has since been committed upstream.
python37: fix pymalloc option
python3[4567]: find_library() fixes; remove -stack_size from LDFLAGS on Darwin. PkgSrc changes: * Make find_library() consitant for all Python versions: - Fallback to clang, when gcc is not installed. - Find libraries in PkgSrc prefix. * Do not use -stack_size; it ends up in 'pythonNN-config --ldflags', and some modules fail to build.
python37: added version 3.7.0 Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations. Among the major new features in Python 3.7 are: PEP 539, new C API for thread-local storage PEP 545, Python documentation translations New documentation translations: Japanese, French, and Korean. PEP 552, Deterministic pyc files PEP 553, Built-in breakpoint() PEP 557, Data Classes PEP 560, Core support for typing module and generic types PEP 562, Customization of access to module attributes PEP 563, Postponed evaluation of annotations PEP 564, Time functions with nanosecond resolution PEP 565, Improved DeprecationWarning handling PEP 567, Context Variables Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode) The insertion-order preservation nature of dict objects is now an official part of the Python language spec. Notable performance improvements in many areas.