[pull] main from python:main - #1539
Merged
Merged
Conversation
…58400) Remove a spurious Py_DECREF(writer_type) in _PyTestCapi_Init_Bytes() that over-decremented the reference after it was already released. Also fix writer_discard method flags (METH_VARARGS -> METH_NOARGS), a typo, and PEP 7 spacing in for-loop initializers. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Add constants dbm.gnu.GDBM_VERSION_INFO, dbm.gnu.gdbm_version_info and dbm.gnu.gdbm_version, which provide information about the version of the GDBM library in use. The private constant _gdbm._GDBM_VERSION has been removed. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add constants readline.READLINE_VERSION_INFO, readline.readline_version_info and readline.readline_version, which provide information about the version of the Readline library in use. The private names _READLINE_VERSION, _READLINE_RUNTIME_VERSION and _READLINE_LIBRARY_VERSION are kept for backward compatibility. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add constants sqlite3.SQLITE_VERSION and sqlite3.SQLITE_VERSION_INFO which provide information about the version of the SQLite library that was used for building the module. Make sqlite3.sqlite_version_info a named tuple. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Fix PyBytesWriter_Format() error handling: restore the writer to its previous state on error. Add an unit test injecting MemoryError. Fix PyBytesWriter_FinishWithSize() to return an empty bytearray when use_bytearray is set and size is 0, instead of always returning an empty bytes object. Fix test_capi.test_bytes: always check writer finish result type, to make sure that _PyBytesWriter_CreateByteArray() always create bytearray objects. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
ssl.OPENSSL_VERSION_INFO is now a named tuple. Add ssl.OPENSSL_API_VERSION_INFO which provides information about the version of the OpenSSL library that was used for building the module. The private name _OPENSSL_API_VERSION is kept as an alias. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add constant pyexpat.VERSION_INFO which provides information about the version of the Expat library that was used for building the module. Make pyexpat.version_info a named tuple. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add constants tkinter.TCL_VERSION_INFO and tkinter.TK_VERSION_INFO, named tuples with the versions of the Tcl and Tk libraries that were used for building the module, and _tkinter.TCL_PATCH_LEVEL and _tkinter.TK_PATCH_LEVEL strings. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add constants which provide information about the version of the underlying library in use: GDBM_VERSION_INFO, gdbm_version_info and gdbm_version if it is GDBM, or BDB_VERSION, bdb_version, BDB_VERSION_INFO and bdb_version_info if it is Berkeley DB. dbm.ndbm.library is now 'ndbm' instead of 'GNU gdbm' for a classic NDBM library. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add constants decimal.LIBMPDEC_VERSION, decimal.libmpdec_version, decimal.LIBMPDEC_VERSION_INFO, and decimal.libmpdec_version_info in the C implementation, which provide information about the version of the libmpdec library in use. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…rectory` (GH-157580) Co-authored-by: Petr Viktorin <encukou@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )