Up to [cvs.NetBSD.org] / pkgsrc / lang / python311 / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lang/python3*: Fix cross-build by patching out broken readline crud. Python's setup.py tries to decide whether readline is available by running readelf on the path it thinks it can find to libreadline.so. Since we always use a single static readline/curses choice in Pythin (readline, not editline, with (fake-)ncurses), just patch all that buggy detection goo away. No new maintenance burden because this logic has been ripped out of Python 3.12 anyway. Python 3.8 skipped for now because it doesn't cross-build at the moment anyway -- more work needed to make that happen (and it's not as easy as Python>=3.9 as I recall).
python*: include some standard modules in the base Python package As proposed on tech-pkg Bump PKGREVISION.
python311 py311-html-docs: added version 3.11.0 Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite. See Faster CPython for details. New syntax features: PEP 654: Exception Groups and except* New built-in features: PEP 678: Exceptions can be enriched with notes New standard library modules: PEP 680: tomllib — Support for parsing TOML in the Standard Library Interpreter improvements: PEP 657: Fine-grained error locations in tracebacks New -P command line option and PYTHONSAFEPATH environment variable to disable automatically prepending potentially unsafe paths to sys.path New typing features: PEP 646: Variadic generics PEP 655: Marking individual TypedDict items as required or not-required PEP 673: Self type PEP 675: Arbitrary literal string type PEP 681: Data class transforms Important deprecations, removals and restrictions: PEP 594: Many legacy standard library modules have been deprecated and will be removed in Python 3.13 PEP 624: Py_UNICODE encoder APIs have been removed PEP 670: Macros converted to static inline functions