Autor Thema: Python ...  (Gelesen 7458 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.9.0
« Antwort #60 am: 05 Oktober, 2020, 20:10 »
Changelog

    Some of the new major new features and changes in Python 3.9 are:

    PEP 573, Module State Access from C Extension Methods
    PEP 584, Union Operators in dict
    PEP 585, Type Hinting Generics In Standard Collections
    PEP 593, Flexible function and variable annotations
    PEP 602, Python adopts a stable annual release cadence
    PEP 614, Relaxing Grammar Restrictions On Decorators
    PEP 615, Support for the IANA Time Zone Database in the Standard Library
    PEP 616, String methods to remove prefixes and suffixes
    PEP 617, New PEG parser for CPython
    BPO 38379, garbage collection does not block on resurrected objects;
    BPO 38692, os.pidfd_open added that allows process management without races and signals;
    BPO 39926, Unicode support updated to version 13.0.0;
    BPO 1635741, when Python is initialized multiple times in the same process, it does not leak memory anymore;
    A number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall;
    A number of Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, _functools, _json, _locale, operator, resource, time, _weakref) now use multiphase initialization as defined by PEP 489;
    A number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384.

[close]

https://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.9.3
« Antwort #61 am: 03 April, 2021, 09:40 »
Changelog

    Security:

    bpo-42988: CVE-2021-3426: Remove the getfile feature of the pydoc module which could be abused to read arbitrary files on the disk (directory traversal vulnerability). Moreover, even source code of Python modules can contain sensitive data like passwords. Vulnerability reported by David Schwörer.
    bpo-43285: ftplib no longer trusts the IP address value returned from the server in response to the PASV command by default. This prevents a malicious FTP server from using the response to probe IPv4 address and port combinations on the client network.
    Code that requires the former vulnerable behavior may set a trust_server_pasv_ipv4_address attribute on their ftplib.FTP instances to True to re-enable it.
    bpo-43439: Add audit hooks for gc.get_objects(), gc.get_referrers() and gc.get_referents(). Patch by Pablo Galindo.

    Core and Builtins:

    bpo-43660: Fix crash that happens when replacing sys.stderr with a callable that can remove the object while an exception is being printed. Patch by Pablo Galindo.
    bpo-43555: Report the column offset for SyntaxError for invalid line continuation characters. Patch by Pablo Galindo.
    bpo-43517: Fix misdetection of circular imports when using from pkg.mod import attr, which caused false positives in non-trivial multi-threaded code.
    bpo-35883: Python no longer fails at startup with a fatal error if a command line argument contains an invalid Unicode character. The Py_DecodeLocale() function now escapes byte sequences which would be decoded as Unicode characters outside the [U+0000; U+10ffff] range.
    bpo-43406: Fix a possible race condition where PyErr_CheckSignals tries to execute a non-Python signal handler.
    bpo-42500: Improve handling of exceptions near recursion limit. Converts a number of Fatal Errors in RecursionErrors.

    Library:

    bpo-43433: xmlrpc.client.ServerProxy no longer ignores query and fragment in the URL of the server.
    bpo-35930: Raising an exception raised in a “future” instance will create reference cycles.
    bpo-43577: Fix deadlock when using ssl.SSLContext debug callback with ssl.SSLContext.sni_callback().
    bpo-43521: ast.unparse can now render NaNs and empty sets.
    bpo-43423: subprocess.communicate() no longer raises an IndexError when there is an empty stdout or stderr IO buffer during a timeout on Windows.
    bpo-27820: Fixed long-standing bug of smtplib.SMTP where doing AUTH LOGIN with initial_response_ok=False will fail.
    The cause is that SMTP.auth_login _always_ returns a password if provided with a challenge string, thus non-compliant with the standard for AUTH LOGIN.
    Also fixes bug with the test for smtpd.
    bpo-43332: Improves the networking efficiency of http.client when using a proxy via set_tunnel(). Fewer small send calls are made during connection setup.
    bpo-43399: Fix ElementTree.extend not working on iterators when using the Python implementation
    bpo-43316: The python -m gzip command line application now properly fails when detecting an unsupported extension. It exits with a non-zero exit code and prints an error message to stderr.
    bpo-43260: Fix TextIOWrapper can not flush internal buffer forever after very large text is written.
    bpo-42782: Fail fast in shutil.move() to avoid creating destination directories on failure.
    bpo-37193: Fixed memory leak in socketserver.ThreadingMixIn introduced in Python 3.7.

    Documentation:

    bpo-43199: Answer “Why is there no goto?” in the Design and History FAQ.
    bpo-43407: Clarified that a result from time.monotonic(), time.perf_counter(), time.process_time(), or time.thread_time() can be compared with the result from any following call to the same function - not just the next immediate call.
    bpo-27646: Clarify that ‘yield from <expr>’ works with any iterable, not just iterators.
    bpo-36346: Update some deprecated unicode APIs which are documented as “will be removed in 4.0” to “3.12”. See PEP 623 for detail.

    Tests:

    bpo-37945: Fix test_getsetlocale_issue1813() of test_locale: skip the test if setlocale() fails. Patch by Victor Stinner.
    bpo-41561: Add workaround for Ubuntu’s custom OpenSSL security level policy.
    bpo-43288: Fix test_importlib to correctly skip Unicode file tests if the fileystem does not support them.

    Build:

    bpo-43631: Update macOS, Windows, and CI to OpenSSL 1.1.1k.
    bpo-43617: Improve configure.ac: Check for presence of autoconf-archive package and remove our copies of M4 macros.

    macOS:

    bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j.

    IDLE:

    bpo-42225: Document that IDLE can fail on Unix either from misconfigured IP masquerage rules or failure displaying complex colored (non-ascii) characters.
    bpo-43283: Document why printing to IDLE’s Shell is often slower than printing to a system terminal and that it can be made faster by pre-formatting a single string before printing.

[close]

https://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.9.4
« Antwort #62 am: 05 April, 2021, 12:20 »
Changelog

    Core and Builtins:

    bpo-43710: Reverted the fix for https://bugs.python.org/issue42500 as it changed the PyThreadState struct size and broke the 3.9.x ABI in the 3.9.3 release (visible on 32-bit platforms using binaries compiled using an earlier version of Python 3.9.x headers).

    Library:

    bpo-26053: Fixed bug where the pdb interactive run command echoed the args from the shell command line, even if those have been overridden at the pdb prompt.


[close]

https://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.9.5
« Antwort #63 am: 05 Mai, 2021, 11:50 »
Changelog

Security

    bpo-43434: Creating a sqlite3.Connection object now also produces a sqlite3.connect auditing event. Previously this event was only produced by sqlite3.connect() calls. Patch by Erlend E. Aasland.

    bpo-43882: The presence of newline or tab characters in parts of a URL could allow some forms of attacks.

    Following the controlling specification for URLs defined by WHATWG urllib.parse() now removes ASCII newlines and tabs from URLs, preventing such attacks.

    bpo-43472: Ensures interpreter-level audit hooks receive the cpython.PyInterpreterState_New event when called through the _xxsubinterpreters module.

    bpo-36384: ipaddress module no longer accepts any leading zeros in IPv4 address strings. Leading zeros are ambiguous and interpreted as octal notation by some libraries. For example the legacy function socket.inet_aton() treats leading zeros as octal notatation. glibc implementation of modern inet_pton() does not accept any leading zeros. For a while the ipaddress module used to accept ambiguous leading zeros.

    bpo-43075: Fix Regular Expression Denial of Service (ReDoS) vulnerability in urllib.request.AbstractBasicAuthHandler. The ReDoS-vulnerable regex has quadratic worst-case complexity and it allows cause a denial of service when identifying crafted invalid RFCs. This ReDoS issue is on the client side and needs remote attackers to control the HTTP server.

    bpo-42800: Audit hooks are now fired for frame.f_code, traceback.tb_frame, and generator code/frame attribute access.

Core and Builtins

    bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations.

    bpo-42924: Fix bytearray repetition incorrectly copying data from the start of the buffer, even if the data is offset within the buffer (e.g. after reassigning a slice at the start of the bytearray to a shorter byte string).

Library

    bpo-43993: Update bundled pip to 21.1.1.

    bpo-43937: Fixed the turtle module working with non-default root window.

    bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0

    bpo-43920: OpenSSL 3.0.0: load_verify_locations() now returns a consistent error message when cadata contains no valid certificate.

    bpo-43607: urllib can now convert Windows paths with \\?\ prefixes into URL paths.

    bpo-43284: platform.win32_ver derives the windows version from sys.getwindowsversion().platform_version which in turn derives the version from kernel32.dll (which can be of a different version than Windows itself). Therefore change the platform.win32_ver to determine the version using the platform module’s _syscmd_ver private function to return an accurate version.

    bpo-42248: [Enum] ensure exceptions raised in _missing__ are released

    bpo-43799: OpenSSL 3.0.0: define OPENSSL_API_COMPAT 1.1.1 to suppress deprecation warnings. Python requires OpenSSL 1.1.1 APIs.

    bpo-43794: Add ssl.OP_IGNORE_UNEXPECTED_EOF constants (OpenSSL 3.0.0)

    bpo-43789: OpenSSL 3.0.0: Don’t call the password callback function a second time when first call has signaled an error condition.

    bpo-43788: The header files for ssl error codes are now OpenSSL version-specific. Exceptions will now show correct reason and library codes. The make_ssl_data.py script has been rewritten to use OpenSSL’s text file with error codes.

    bpo-43655: tkinter dialog windows are now recognized as dialogs by window managers on macOS and X Window.

    bpo-43534: turtle.textinput() and turtle.numinput() create now a transient window working on behalf of the canvas window.

    bpo-43522: Fix problem with hostname_checks_common_name. OpenSSL does not copy hostflags from struct SSL_CTX to struct SSL.

    bpo-42967: Allow bytes separator argument in urllib.parse.parse_qs and urllib.parse.parse_qsl when parsing str query strings. Previously, this raised a TypeError.

    bpo-43176: Fixed processing of a dataclass that inherits from a frozen dataclass with no fields. It is now correctly detected as an error.

    bpo-41735: Fix thread locks in zlib module may go wrong in rare case. Patch by Ma Lin.

    bpo-36470: Fix dataclasses with InitVars and replace(). Patch by Claudiu Popa.

    bpo-32745: Fix a regression in the handling of ctypes’ ctypes.c_wchar_p type: embedded null characters would cause a ValueError to be raised. Patch by Zackery Spytz.

Documentation

    bpo-43959: The documentation on the PyContextVar C-API was clarified.

    bpo-43938: Update dataclasses documentation to express that FrozenInstanceError is derived from AttributeError.

    bpo-43755: Update documentation to reflect that unparenthesized lambda expressions can no longer be the expression part in an if clause in comprehensions and generator expressions since Python 3.9.

    bpo-43739: Fixing the example code in Doc/extending/extending.rst to declare and initialize the pmodule variable to be of the right type.

Tests

    bpo-43961: Fix test_logging.test_namer_rotator_inheritance() on Windows: use os.replace() rather than os.rename(). Patch by Victor Stinner.

    bpo-43842: Fix a race condition in the SMTP test of test_logging. Don’t close a file descriptor (socket) from a different thread while asyncore.loop() is polling the file descriptor. Patch by Victor Stinner.

    bpo-43811: Tests multiple OpenSSL versions on GitHub Actions. Use ccache to speed up testing.

    bpo-43791: OpenSSL 3.0.0: Disable testing of legacy protocols TLS 1.0 and 1.1. Tests are failing with TLSV1_ALERT_INTERNAL_ERROR.

Windows

    bpo-35306: Avoid raising errors from pathlib.Path.exists() when passed an invalid filename.

    bpo-38822: Fixed os.stat() failing on inaccessible directories with a trailing slash, rather than falling back to the parent directory’s metadata. This implicitly affected os.path.exists() and os.path.isdir().

    bpo-26227: Fixed decoding of host names in socket.gethostbyaddr() and socket.gethostbyname_ex().

    bpo-40432: Updated pegen regeneration script on Windows to find and use Python 3.8 or higher. Prior to this, pegen regeneration already required 3.8 or higher, but the script may have used lower versions of Python.

    bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. Earlier releases were mislabelled and actually included 1.1.1i again.

    bpo-43492: Upgrade Windows installer to use SQLite 3.35.5.

macOS

    bpo-42119: Fix check for macOS SDK paths when building Python. Narrow search to match contents of SDKs, namely only files in /System/Library, /System/IOSSupport, and /usr other than /usr/local. Previously, anything under /System was assumed to be in an SDK which causes problems with the new file system layout in 10.15+ where user file systems may appear to be mounted under /System. Paths in /Library were also incorrectly treated as SDK locations.

    bpo-44009: Provide “python3.x-intel64” executable to allow reliably forcing macOS universal2 framework builds to run under Rosetta 2 Intel-64 emulation on Apple Silicon Macs. This can be useful for testing or when universal2 wheels are not yet available.

    bpo-43492: Update macOS installer to use SQLite 3.35.4.

IDLE

    bpo-43655: IDLE dialog windows are now recognized as dialogs by window managers on macOS and X Window.

[close]

https://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.10.2
« Antwort #64 am: 16 Januar, 2022, 10:20 »
Changelog

Core and Builtins

    bpo-46347: Fix memory leak in PyEval_EvalCodeEx.

    bpo-46289: ASDL declaration of FormattedValue has changed to reflect conversion field is not optional.

    bpo-46237: Fix the line number of tokenizer errors inside f-strings. Patch by Pablo Galindo.

    bpo-46006: Fix a regression when a type method like __init__() is modified in a subinterpreter. Fix a regression in _PyUnicode_EqualToASCIIId() and type update_slot(). Revert the change which made the Unicode dictionary of interned strings compatible with subinterpreters: the internal interned dictionary is shared again by all interpreters. Patch by Victor Stinner.

    bpo-46085: Fix iterator cache mechanism of OrderedDict.

    bpo-46110: Add a maximum recursion check to the PEG parser to avoid stack overflow. Patch by Pablo Galindo

    bpo-46054: Fix parser error when parsing non-utf8 characters in source files. Patch by Pablo Galindo.

    bpo-46042: Improve the location of the caret in SyntaxError exceptions emitted by the symbol table. Patch by Pablo Galindo.

    bpo-46025: Fix a crash in the atexit module involving functions that unregister themselves before raising exceptions. Patch by Pablo Galindo.

    bpo-46009: Restore behavior from 3.9 and earlier when sending non-None to newly started generator. In 3.9 this did not affect the state of the generator. In 3.10.0 and 3.10.1 gen_func().send(0) is equivalent to gen_func().throw(TypeError(...) which exhausts the generator. In 3.10.2 onward, the behavior has been reverted to that of 3.9.

    bpo-46000: Improve compatibility of the curses module with NetBSD curses.

    bpo-46004: Fix the SyntaxError location for errors involving for loops with invalid targets. Patch by Pablo Galindo

    bpo-42918: Fix bug where the built-in compile() function did not always raise a SyntaxError when passed multiple statements in ‘single’ mode. Patch by Weipeng Hong.

Library

    bpo-40479: Fix hashlib usedforsecurity option to work correctly with OpenSSL 3.0.0 in FIPS mode.

    bpo-46070: Fix possible segfault when importing the asyncio module from different sub-interpreters in parallel. Patch by Erlend E. Aasland.

    bpo-46278: Reflect context argument in AbstractEventLoop.call_*() methods. Loop implementations already support it.

    bpo-46239: Improve error message when importing asyncio.windows_events on non-Windows.

    bpo-20369: concurrent.futures.wait() no longer blocks forever when given duplicate Futures. Patch by Kumar Aditya.

    bpo-46105: Honor spec when generating requirement specs with urls and extras (importlib_metadata 4.8.3).

    bpo-26952: argparse raises ValueError with clear message when trying to render usage for an empty mutually-exclusive group. Previously it raised a cryptic IndexError.

    bpo-27718: Fix help for the signal module. Some functions (e.g. signal() and getsignal()) were omitted.

    bpo-46032: The registry() method of functools.singledispatch() functions checks now the first argument or the first parameter annotation and raises a TypeError if it is not supported. Previously unsupported “types” were ignored (e.g. typing.List[int]) or caused an error at calling time (e.g. list[int]).

    bpo-46018: Ensure that math.expm1() does not raise on underflow.

    bpo-45755: typing generic aliases now reveal the class attributes of the original generic class when passed to dir(). This was the behavior up to Python 3.6, but was changed in 3.7-3.9.

    bpo-13236: unittest.TextTestResult and unittest.TextTestRunner flush now the output stream more often.

    bpo-42378: Fixes the issue with log file being overwritten when logging.FileHandler is used in atexit with filemode set to 'w'. Note this will cause the message in atexit not being logged if the log stream is already closed due to shutdown of logging.

Documentation

    bpo-46120: State that | is preferred for readability over Union in the typing docs.

    bpo-46040: Fix removal Python version for @asyncio.coroutine, the correct value is 3.11.

    bpo-19737: Update the documentation for the globals() function.

    bpo-45840: Improve cross-references in the documentation for the data model.

Tests

    bpo-46205: Fix hang in runtest_mp due to race condition

    bpo-46263: Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not fill freed memory with junk byte.

    bpo-46150: Now fakename in test_pathlib.PosixPathTest.test_expanduser is checked to be non-existent.

    bpo-46129: Rewrite asyncio.locks tests with unittest.IsolatedAsyncioTestCase usage.

    bpo-46114: Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses 0xMNN00PP0L.

Build

    bpo-46263: configure no longer sets MULTIARCH on FreeBSD platforms.

    bpo-46106: Updated OpenSSL to 1.1.1m in Windows builds, macOS installer builds, and CI. Patch by Kumar Aditya.

macOS

    bpo-40477: The Python Launcher app for macOS now properly launches scripts and, if necessary, the Terminal app when running on recent macOS releases.

C API

    bpo-46236: Fix a bug in PyFunction_GetAnnotations() that caused it to return a tuple instead of a dict.

[close]

http://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.10.6
« Antwort #65 am: 02 August, 2022, 18:15 »
Changelog

Among the new major new features and changes so far:

    PEP 623 – Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
    PEP 604 – Allow writing union types as X | Y
    PEP 612 – Parameter Specification Variables
    PEP 626 – Precise line numbers for debugging and other tools.
    PEP 618 – Add Optional Length-Checking To zip.
    bpo-12782: Parenthesized context managers are now officially allowed.
    PEP 632 – Deprecate distutils module.
    PEP 613 – Explicit Type Aliases
    PEP 634 – Structural Pattern Matching: Specification
    PEP 635 – Structural Pattern Matching: Motivation and Rationale
    PEP 636 – Structural Pattern Matching: Tutorial
    PEP 644 – Require OpenSSL 1.1.1 or newer
    PEP 624 – Remove Py_UNICODE encoder APIs
    PEP 597 – Add optional EncodingWarning

[close]

http://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.11.0
« Antwort #66 am: 25 Oktober, 2022, 06:10 »
Changelog


    General changes:

    PEP 657 -- Include Fine-Grained Error Locations in Tracebacks
    PEP 654 -- Exception Groups and except*
    PEP 680 -- tomllib: Support for Parsing TOML in the Standard Library
    gh-90908 -- Introduce task groups to asyncio
    gh-34627 -- Atomic grouping ((?>...)) and possessive quantifiers (*+, ++, ?+, {m,n}+) are now supported in regular expressions.
    The Faster CPython Project is already yielding some exciting results. Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a 1.22x speedup on the standard benchmark suite. See Faster CPython for details.

    Typing and typing language changes:

    PEP 673 -- Self Type
    PEP 646 -- Variadic Generics
    PEP 675 -- Arbitrary Literal String Type
    PEP 655 -- Marking individual TypedDict items as required or potentially-missing
    PEP 681 -- Data Class Transforms

[close]

http://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.11.3
« Antwort #67 am: 05 April, 2023, 19:45 »
Changelog


General changes

    PEP 657 -- Include Fine-Grained Error Locations in Tracebacks
    PEP 654 -- Exception Groups and except*
    PEP 680 -- tomllib: Support for Parsing TOML in the Standard Library
    gh-90908 -- Introduce task groups to asyncio
    gh-34627 -- Atomic grouping ((?>...)) and possessive quantifiers (*+, ++, ?+, {m,n}+) are now supported in regular expressions.
    The Faster CPython Project is already yielding some exciting results. Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a 1.22x speedup on the standard benchmark suite. See Faster CPython for details.

Typing and typing language changes

    PEP 673 -- Self Type
    PEP 646 -- Variadic Generics
    PEP 675 -- Arbitrary Literal String Type
    PEP 655 -- Marking individual TypedDict items as required or potentially-missing
    PEP 681 -- Data Class Transforms

[close]

http://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.11.5
« Antwort #68 am: 24 August, 2023, 21:10 »
Changelog


Security

    gh-108310: Fixed an issue where instances of ssl.SSLSocket were vulnerable to a bypass of the TLS handshake and included protections (like certificate verification) and treating sent unencrypted data as if it were post-handshake TLS encrypted data. Security issue reported as CVE-2023-40217 by Aapo Oksman. Patch by Gregory P. Smith.

Core and Builtins

    gh-104432: Fix potential unaligned memory access on C APIs involving returned sequences of char * pointers within the grp and socket modules. These were revealed using a -fsaniziter=alignment build on ARM macOS. Patch by Christopher Chavez.

    gh-77377: Ensure that multiprocessing synchronization objects created in a fork context are not sent to a different process created in a spawn context. This changes a segfault into an actionable RuntimeError in the parent process.

    gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.

    gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types.

    gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters.

    gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling.

    gh-105840: Fix possible crashes when specializing function calls with too many __defaults__.

    gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes.

    gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten.

    gh-105375: Fix bug in the compiler where an exception could end up being overwritten.

    gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten.

    gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.

    gh-101006: Improve error handling when read marshal data.

Library

    gh-105736: Harmonized the pure Python version of OrderedDict with the C version. Now, both versions set up their internal state in __new__. Formerly, the pure Python version did the set up in __init__.

    gh-107963: Fix multiprocessing.set_forkserver_preload() to check the given list of modules names. Patch by Dong-hee Na.

    gh-106242: Fixes os.path.normpath() to handle embedded null characters without truncating the path.

    gh-107845: tarfile.data_filter() now takes the location of symlinks into account when determining their target, so it will no longer reject some valid tarballs with LinkOutsideDestinationError.

    gh-107715: Fix doctest.DocTestFinder.find() in presence of class names with special characters. Patch by Gertjan van Zwieten.

    gh-100814: Passing a callable object as an option value to a Tkinter image now raises the expected TclError instead of an AttributeError.

    gh-106684: Close asyncio.StreamWriter when it is not closed by application leading to memory leaks. Patch by Kumar Aditya.

    gh-107077: Seems that in some conditions, OpenSSL will return SSL_ERROR_SYSCALL instead of SSL_ERROR_SSL when a certification verification has failed, but the error parameters will still contain ERR_LIB_SSL and SSL_R_CERTIFICATE_VERIFY_FAILED. We are now detecting this situation and raising the appropiate ssl.SSLCertVerificationError. Patch by Pablo Galindo

    gh-107396: tarfiles; Fixed use before assignment of self.exception for gzip decompression

    gh-46376: Prevent memory leak and use-after-free when using pointers to pointers with ctypes

    gh-62519: Make gettext.pgettext() search plural definitions when translation is not found.

    gh-83006: Document behavior of shutil.disk_usage() for non-mounted filesystems on Unix.

    gh-106186: Do not report MultipartInvariantViolationDefect defect when the email.parser.Parser class is used to parse emails with headersonly=True.

    gh-106831: Fix potential missing NULL check of d2i_SSL_SESSION result in _ssl.c.

    gh-106774: Update the bundled copy of pip to version 23.2.1.

    gh-106752: Fixed several bug in zipfile.Path in name/suffix/suffixes/stem operations when no filename is present and the Path is not at the root of the zipfile.

    gh-106602: Add __copy__ and __deepcopy__ in enum

    gh-106530: Revert a change to colorsys.rgb_to_hls() that caused division by zero for certain almost-white inputs. Patch by Terry Jan Reedy.

    gh-106052: re module: fix the matching of possessive quantifiers in the case of a subpattern containing backtracking.

    gh-106510: Improve debug output for atomic groups in regular expressions.

    gh-105497: Fix flag mask inversion when unnamed flags exist.

    gh-90876: Prevent multiprocessing.spawn from failing to import in environments where sys.executable is None. This regressed in 3.11 with the addition of support for path-like objects in multiprocessing.

    gh-106350: Detect possible memory allocation failure in the libtommath function mp_init() used by the _tkinter module.

    gh-102541: Make pydoc.doc catch bad module ImportError when output stream is not None.

    gh-106263: Fix crash when calling repr with a manually constructed SignalDict object. Patch by Charlie Zhao.

    gh-105375: Fix a bug in _Unpickler_SetInputStream() where an exception could end up being overwritten in case of failure.

    gh-105375: Fix bugs in sys where exceptions could end up being overwritten because of deferred error handling.

    gh-105605: Harden pyexpat error handling during module initialisation to prevent exceptions from possibly being overwritten, and objects from being dereferenced twice.

    gh-105375: Fix bug in decimal where an exception could end up being overwritten.

    gh-105375: Fix bugs in _datetime where exceptions could be overwritten in case of module initialisation failure.

    gh-105375: Fix bugs in _ssl initialisation which could lead to leaked references and overwritten exceptions.

    gh-105375: Fix a bug in array.array where an exception could end up being overwritten.

    gh-105375: Fix bugs in _ctypes where exceptions could end up being overwritten.

    gh-105375: Fix a bug in the posix module where an exception could be overwritten.

    gh-105375: Fix bugs in _elementtree where exceptions could be overwritten.

    gh-105375: Fix bugs in zoneinfo where exceptions could be overwritten.

    gh-105375: Fix bugs in pickle where exceptions could be overwritten.

    gh-105497: Fix flag inversion when alias/mask members exist.

    gh-105375: Fix bugs in pickle where exceptions could be overwritten.

    gh-103171: Revert undocumented behaviour change with runtime-checkable protocols decorated with typing.final() in Python 3.11. The behaviour change had meant that objects would not be considered instances of these protocols at runtime unless they had a __final__ attribute. Patch by Alex Waygood.

    gh-105375: Fix a bug in sqlite3 where an exception could be overwritten in the collation callback.

    gh-105332: Revert pickling method from by-name back to by-value.

    gh-104554: Add RTSPS scheme support in urllib.parse

    gh-100061: Fix a bug that causes wrong matches for regular expressions with possessive qualifier.

    gh-102541: Hide traceback in help() prompt, when import failed.

    gh-99203: Restore following CPython <= 3.10.5 behavior of shutil.make_archive(): do not create an empty archive if root_dir is not a directory, and, in that case, raise FileNotFoundError or NotADirectoryError regardless of format choice. Beyond the brought-back behavior, the function may now also raise these exceptions in dry_run mode.

    gh-94777: Fix hanging multiprocessing ProcessPoolExecutor when a child process crashes while data is being written in the call queue.

    bpo-18319: Ensure gettext(msg) retrieve translations even if a plural form exists. In other words: gettext(msg) == ngettext(msg, '', 1).

Documentation

    gh-107008: Document the curses module variables LINES and COLS.

    gh-106948: Add a number of standard external names to nitpick_ignore.

    gh-54738: Add documentation on how to localize the argparse module.

Tests

    gh-105776: Fix test_cppext when the C compiler command -std=c11 option: remove -std= options from the compiler command. Patch by Victor Stinner.

    gh-107237: test_logging: Fix test_udp_reconnection() by increasing the timeout from 100 ms to 5 minutes (LONG_TIMEOUT). Patch by Victor Stinner.

    gh-101634: When running the Python test suite with -jN option, if a worker stdout cannot be decoded from the locale encoding report a failed testn so the exitcode is non-zero. Patch by Victor Stinner.

Build

    gh-107814: When calling find_python.bat with -q it did not properly silence the output of nuget. That is now fixed.

    gh-106881: Check for linux/limits.h before including it in Modules/posixmodule.c.

    gh-104692: Include commoninstall as a prerequisite for bininstall

    This ensures that commoninstall is completed before bininstall is started when parallel builds are used (make -j install), and so the python3 symlink is only installed after all standard library modules are installed.

    gh-100340: Allows -Wno-int-conversion for wasm-sdk 17 and onwards, thus enables building WASI builds once against the latest sdk.

Windows

    gh-106242: Fixes realpath() to behave consistently when passed a path containing an embedded null character on Windows. In strict mode, it now raises OSError instead of the unexpected ValueError, and in non-strict mode will make the path absolute.

    gh-106844: Fix integer overflow in _winapi.LCMapStringEx() which affects ntpath.normcase().

    gh-99079: Update Windows build to use OpenSSL 3.0.9

    gh-105436: Ensure that an empty environment block is terminated by two null characters, as is required by Windows.

macOS

    gh-107565: Update macOS installer to use OpenSSL 3.0.10.

    gh-99079: Update macOS installer to use OpenSSL 3.0.9.

Tools/Demos

    gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL 1.1.1v, 3.0.10, and 3.1.2.

    gh-95065: Argument Clinic now supports overriding automatically generated signature by using directive @text_signature. See How to override the generated signature.

    gh-106970: Fix bugs in the Argument Clinic destination <name> clear command; the destination buffers would never be cleared, and the destination directive parser would simply continue to the fault handler after processing the command. Patch by Erlend E. Aasland.

C API

    gh-107916: C API functions PyErr_SetFromErrnoWithFilename(), PyErr_SetExcFromWindowsErrWithFilename() and PyErr_SetFromWindowsErrWithFilename() save now the error code before calling PyUnicode_DecodeFSDefault().

    gh-107915: Such C API functions as PyErr_SetString(), PyErr_Format(), PyErr_SetFromErrnoWithFilename() and many others no longer crash or ignore errors if it failed to format the error message or decode the filename. Instead, they keep a corresponding error.

    gh-107226: PyModule_AddObjectRef() is now only available in the limited API version 3.10 or later.

    gh-105375: Fix a bug in PyErr_WarnExplicit() where an exception could end up being overwritten if the API failed internally.

    gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data: *consumed was not set.

[close]

http://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )

Offline SiLæncer

  • Cheff-Cubie
  • *****
  • Beiträge: 191383
  • Ohne Input kein Output
    • DVB-Cube
Python 3.12.3
« Antwort #69 am: 10 April, 2024, 06:40 »
Changelog


Security

    gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

        xml.etree.ElementTree.XMLParser.flush()

        xml.etree.ElementTree.XMLPullParser.flush()

        xml.parsers.expat.xmlparser.GetReparseDeferralEnabled()

        xml.parsers.expat.xmlparser.SetReparseDeferralEnabled()

        xml.sax.expatreader.ExpatParser.flush()

    gh-115399: Update bundled libexpat to 2.6.0

    gh-115243: Fix possible crashes in collections.deque.index() when the deque is concurrently modified.

    gh-114572: ssl.SSLContext.cert_store_stats() and ssl.SSLContext.get_ca_certs() now correctly lock access to the certificate store, when the ssl.SSLContext is shared across multiple threads.

Core and Builtins

    gh-109120: Added handle of incorrect star expressions, e.g f(3, *). Patch by Grigoryev Semyon

    gh-99108: Updated the hashlib built-in HACL* project C code from upstream that we use for many implementations when they are not present via OpenSSL in a given build. This also avoids the rare potential for a C symbol name one definition rule linking issue.

    gh-116735: For INSTRUMENTED_CALL_FUNCTION_EX, set arg0 to sys.monitoring.MISSING instead of None for CALL event.

    gh-113964: Starting new threads and process creation through os.fork() are now only prevented once all non-daemon threads exit.

    gh-116604: Respect the status of the garbage collector when indirect calls are made via PyErr_CheckSignals() and the evaluation breaker. Patch by Pablo Galindo

    gh-116626: Ensure INSTRUMENTED_CALL_FUNCTION_EX always emits CALL

    gh-116296: Fix possible refleak in object.__reduce__() internal error handling.

    gh-116034: Fix location of the error on a failed assertion.

    gh-115823: Properly calculate error ranges in the parser when raising SyntaxError exceptions caused by invalid byte sequences. Patch by Pablo Galindo

    gh-112087: For an empty reverse iterator for list will be reduced to reversed(). Patch by Donghee Na.

    gh-115154: Fix a bug that was causing the tokenize.untokenize() function to handle unicode named literals incorrectly. Patch by Pablo Galindo

    gh-114828: Fix compilation crashes in uncommon code examples using super() inside a comprehension in a class body.

    gh-115011: Setters for members with an unsigned integer type now support the same range of valid values for objects that has a __index__() method as for int.

    gh-112215: Change the C recursion limits to more closely reflect the underlying platform limits.

    gh-96497: Fix incorrect resolution of mangled class variables used in assignment expressions in comprehensions.

Library

    gh-117467: Preserve mailbox ownership when rewriting in mailbox.mbox.flush(). Patch by Tony Mountifield.

    gh-117310: Fixed an unlikely early & extra Py_DECREF triggered crash in ssl when creating a new _ssl._SSLContext if CPython was built implausibly such that the default cipher list is empty or the SSL library it was linked against reports a failure from its C SSL_CTX_set_cipher_list() API.

    gh-117178: Fix regression in lazy loading of self-referential modules, introduced in gh-114781.

    gh-117084: Fix zipfile extraction for directory entries with the name containing backslashes on Windows.

    gh-117110: Fix a bug that prevents subclasses of typing.Any to be instantiated with arguments. Patch by Chris Fu.

    gh-90872: On Windows, subprocess.Popen.wait() no longer calls WaitForSingleObject() with a negative timeout: pass 0 ms if the timeout is negative. Patch by Victor Stinner.

    gh-116957: configparser: Don’t leave ConfigParser values in an invalid state (stored as a list instead of a str) after an earlier read raised DuplicateSectionError or DuplicateOptionError.

    gh-90095: Ignore empty lines and comments in .pdbrc

    gh-116764: Restore support of None and other false values in urllib.parse functions parse_qs() and parse_qsl(). Also, they now raise a TypeError for non-zero integers and non-empty sequences.

    gh-116811: In PathFinder.invalidate_caches, delegate to MetadataPathFinder.invalidate_caches.

    gh-116600: Fix repr() for global Flag members.

    gh-116484: Change automatically generated tkinter.Checkbutton widget names to avoid collisions with automatically generated tkinter.ttk.Checkbutton widget names within the same parent widget.

    gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening named pipe.

    gh-116143: Fix a race in pydoc _start_server, eliminating a window in which _start_server can return a thread that is “serving” but without a docserver set.

    gh-116325: typing: raise SyntaxError instead of AttributeError on forward references as empty strings.

    gh-90535: Fix support of interval values > 1 in logging.TimedRotatingFileHandler for when='MIDNIGHT' and when='Wx'.

    gh-115978: Disable preadv(), readv(), pwritev(), and writev() on WASI.

    Under wasmtime for WASI 0.2, these functions don’t pass test_posix (https://github.com/bytecodealliance/wasmtime/issues/7830).

    gh-88352: Fix the computation of the next rollover time in the logging.TimedRotatingFileHandler handler. computeRollover() now always returns a timestamp larger than the specified time and works correctly during the DST change. doRollover() no longer overwrite the already rolled over file, saving from data loss when run at midnight or during repeated time at the DST change.

    gh-87115: Set __main__.__spec__ to None when running a script with pdb

    gh-76511: Fix UnicodeEncodeError in email.Message.as_string() that results when a message that claims to be in the ascii character set actually has non-ascii characters. Non-ascii characters are now replaced with the U+FFFD replacement character, like in the replace error handler.

    gh-116040: [Enum] fix by-value calls when second value is falsey; e.g. Cardinal(1, 0)

    gh-75988: Fixed unittest.mock.create_autospec() to pass the call through to the wrapped object to return the real result.

    gh-115881: Fix issue where ast.parse() would incorrectly flag conditional context managers (such as with (x() if y else z()): ...) as invalid syntax if feature_version=(3, 8) was passed. This reverts changes to the grammar made as part of gh-94949.

    gh-115886: Fix silent truncation of the name with an embedded null character in multiprocessing.shared_memory.SharedMemory.

    gh-115809: Improve algorithm for computing which rolled-over log files to delete in logging.TimedRotatingFileHandler. It is now reliable for handlers without namer and with arbitrary deterministic namer that leaves the datetime part in the file name unmodified.

    gh-74668: urllib.parse functions parse_qs() and parse_qsl() now support bytes arguments containing raw and percent-encoded non-ASCII data.

    gh-67044: csv.writer() now always quotes or escapes '\r' and '\n', regardless of lineterminator value.

    gh-115712: csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible.

    gh-112364: Fixed ast.unparse() to handle format_spec with ", ' or \\. Patched by Frank Hoffmann.

    gh-111358: Fix a bug in asyncio.BaseEventLoop.shutdown_default_executor() to ensure the timeout passed to the coroutine behaves as expected.

    gh-115618: Fix improper decreasing the reference count for None argument in property methods getter(), setter() and deleter().

    gh-115570: A DeprecationWarning is no longer omitted on access to the __doc__ attributes of the deprecated typing.io and typing.re pseudo-modules.

    gh-112006: Fix inspect.unwrap() for types with the __wrapper__ data descriptor.

    gh-101293: Support callables with the __call__() method and types with __new__() and __init__() methods set to class methods, static methods, bound methods, partial functions, and other types of methods and descriptors in inspect.Signature.from_callable().

    gh-115392: Fix a bug in doctest where incorrect line numbers would be reported for decorated functions.

    gh-114563: Fix several format() bugs when using the C implementation of Decimal: * memory leak in some rare cases when using the z format option (coerce negative 0) * incorrect output when applying the z format option to type F (fixed-point with capital NAN / INF) * incorrect output when applying the # format option (alternate form)

    gh-115197: urllib.request no longer resolves the hostname before checking it against the system’s proxy bypass list on macOS and Windows.

    gh-115165: Most exceptions are now ignored when attempting to set the __orig_class__ attribute on objects returned when calling typing generic aliases (including generic aliases created using typing.Annotated). Previously only AttributeError was ignored. Patch by Dave Shawley.

    gh-115133: Fix tests for XMLPullParser with Expat 2.6.0.

    gh-115059: io.BufferedRandom.read1() now flushes the underlying write buffer.

    gh-79382: Trailing ** no longer allows to match files and non-existing paths in recursive glob().

    gh-114071: Support tuple subclasses using auto() for enum member value.

    gh-114763: Protect modules loaded with importlib.util.LazyLoader from race conditions when multiple threads try to access attributes before the loading is complete.

    gh-97959: Fix rendering class methods, bound methods, method and function aliases in pydoc. Class methods no longer have “method of builtins.type instance” note. Corresponding notes are now added for class and unbound methods. Method and function aliases now have references to the module or the class where the origin was defined if it differs from the current. Bound methods are now listed in the static methods section. Methods of builtin classes are now supported as well as methods of Python classes.

    gh-112281: Allow creating union of types for typing.Annotated with unhashable metadata.

    gh-111775: Fix importlib.resources.simple.ResourceHandle.open() for text mode, added missed stream argument.

    gh-90095: Make .pdbrc and -c work with any valid pdb commands.

    gh-107155: Fix incorrect output of help(x) where x is a lambda function, which has an __annotations__ dictionary attribute with a "return" key.

    gh-105866: Fixed _get_slots bug which caused error when defining dataclasses with slots and a weakref_slot.

    gh-60346: Fix ArgumentParser inconsistent with parse_known_args.

    gh-100985: Update HTTPSConnection to consistently wrap IPv6 Addresses when using a proxy.

    gh-100884: email: fix misfolding of comma in address-lists over multiple lines in combination with unicode encoding.

    gh-95782: Fix io.BufferedReader.tell(), io.BufferedReader.seek(), _pyio.BufferedReader.tell(), io.BufferedRandom.tell(), io.BufferedRandom.seek() and _pyio.BufferedRandom.tell() being able to return negative offsets.

    gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed.

    gh-93205: Fixed a bug in logging.handlers.TimedRotatingFileHandler where multiple rotating handler instances pointing to files with the same name but different extensions would conflict and not delete the correct files.

    bpo-44865: Add missing call to localization function in argparse.

    bpo-43952: Fix multiprocessing.connection.Listener.accept() to accept empty bytes as authkey. Not accepting empty bytes as key causes it to hang indefinitely.

    bpo-42125: linecache: get module name from __spec__ if available. This allows getting source code for the __main__ module when a custom loader is used.

    gh-66543: Make mimetypes.guess_type() properly parsing of URLs with only a host name, URLs containing fragment or query, and filenames with only a UNC sharepoint on Windows. Based on patch by Dong-hee Na.

    bpo-33775: Add ‘default’ and ‘version’ help text for localization in argparse.

Documentation

    gh-115399: Document CVE-2023-52425 of Expat <2.6.0 under “XML vulnerabilities”.

    gh-115233: Fix an example for LoggerAdapter in the Logging Cookbook.

Tests

    gh-83434: Disable JUnit XML output (--junit-xml=FILE command line option) in regrtest when hunting for reference leaks (-R option). Patch by Victor Stinner.

    gh-117187: Fix XML tests for vanilla Expat <2.6.0.

    gh-116333: Tests of TLS related things (error codes, etc) were updated to be more lenient about specific error message strings and behaviors as seen in the BoringSSL and AWS-LC forks of OpenSSL.

    gh-115979: Update test_importlib so that it passes under WASI SDK 21.

    gh-112536: Add –tsan to test.regrtest for running TSAN tests in reasonable execution times. Patch by Donghee Na.

    gh-116307: Added import helper isolated_modules as CleanImport does not remove modules imported during the context. Use it in importlib.resources tests to avoid leaving mod around to impede importlib.metadata tests.

    gh-115720: Leak tests (-R, --huntrleaks) now show a summary of the number of leaks found in each iteration.

    gh-115122: Add --bisect option to regrtest test runner: run failed tests with test.bisect_cmd to identify failing tests. Patch by Victor Stinner.

    gh-115596: Fix ProgramPriorityTests in test_os permanently changing the process priority.

Build

    gh-116313: Get WASI builds to work under wasmtime 18 w/ WASI 0.2/preview2 primitives.

    gh-116117: Backport libb2’s PR #42 to fix compiling CPython on 32-bit Windows with clang-cl.

    gh-115167: Avoid vendoring vcruntime140_threads.dll when building with Visual Studio 2022 version 17.8.

    gh-112536: Add support for thread sanitizer (TSAN)

Windows

    gh-117267: Ensure DirEntry.stat().st_ctime behaves consistently with os.stat() during the deprecation period of st_ctime by containing the same value as st_birthtime. After the deprecation period, st_ctime will be the metadata change time (or unavailable through DirEntry), and only st_birthtime will contain the creation time.

    gh-116773: Fix instances of <_overlapped.Overlapped object at 0xXXX> still has pending operation at deallocation, the process may crash.

    gh-91227: Fix the asyncio ProactorEventLoop implementation so that sending a datagram to an address that is not listening does not prevent receiving any more datagrams.

    gh-115554: The installer now has more strict rules about updating the Python Launcher for Windows. In general, most users only have a single launcher installed and will see no difference. When multiple launchers have been installed, the option to install the launcher is disabled until all but one have been removed. Downgrading the launcher (which was never allowed) is now more obviously blocked.

    gh-115543: Python Launcher for Windows can now detect Python 3.13 when installed from the Microsoft Store, and will install Python 3.12 by default when PYLAUNCHER_ALLOW_INSTALL is set.

    gh-115049: Fixes py.exe launcher failing when run as users without user profiles.

    gh-115009: Update Windows installer to use SQLite 3.45.1.

IDLE

    gh-88516: On macOS show a proxy icon in the title bar of editor windows to match platform behaviour.

Tools/Demos

    gh-113516: Don’t set LDSHARED when building for WASI.

C API

    gh-117021: Fix integer overflow in PyLong_AsPid() on non-Windows 64-bit platforms.

    gh-116869: Make the C API compatible with -Werror=declaration-after-statement compiler flag again. Patch by Victor Stinner.

[close]

https://www.python.org/

Arbeits.- Testrechner :

Intel® Core™ i7-6700 (4 x 3.40 GHz / 4.00 GHz)
16 GB (2 x 8 GB) DDR4 SDRAM 2133 MHz
250 GB SSD Samsung 750 EVO / 1 TB HDD
ZOTAC Geforce GTX 1080TI AMPExtreme Core Edition 11GB GDDR5
MSI Z170A PC Mate Mainboard
DVD-Brenner Laufwerk
Microsoft Windows 10 Home 64Bit

TT S2 3200 ( BDA Treiber 5.0.1.8 ) + Terratec Cinergy 1200 C ( BDA Treiber 4.8.3.1.8 )