mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Python 3.15.0a1
This commit is contained in:
parent
f71c96cf2d
commit
aeff92d86a
669 changed files with 8387 additions and 2073 deletions
|
|
@ -1,2 +0,0 @@
|
|||
Add functions :c:func:`PySys_GetAttr`, :c:func:`PySys_GetAttrString`,
|
||||
:c:func:`PySys_GetOptionalAttr` and :c:func:`PySys_GetOptionalAttrString`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
:c:func:`PyGILState_Ensure` no longer crashes when called after interpreter
|
||||
finalization.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
For unsigned integer formats in :c:func:`PyArg_ParseTuple`, accepting Python
|
||||
integers with value that is larger than the maximal value for the C type or
|
||||
less than the minimal value for the corresponding signed integer type
|
||||
of the same size is now deprecated.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Remove deprecated functions :c:func:`!PyUnicode_AsDecodedObject`,
|
||||
:c:func:`!PyUnicode_AsDecodedUnicode`, :c:func:`!PyUnicode_AsEncodedObject`,
|
||||
and :c:func:`!PyUnicode_AsEncodedUnicode`.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Remove deprecated alias :c:func:`!PyImport_ImportModuleNoBlock` of
|
||||
:c:func:`PyImport_ImportModule`. Patch by Bénédikt Tran.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Remove deprecated function :c:func:`!PyWeakref_GetObject` and macro
|
||||
:c:macro:`!PyWeakref_GET_OBJECT`. Use :c:func:`PyWeakref_GetRef` instead.
|
||||
Patch by Bénédikt Tran.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Remove deprecated Python initialization getter functions ``Py_Get*``.
|
||||
Patch by Bénédikt Tran.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
Add :c:func:`PyUnicodeWriter_WriteASCII` function to write an ASCII string
|
||||
into a :c:type:`PyUnicodeWriter`. The function is faster than
|
||||
:c:func:`PyUnicodeWriter_WriteUTF8`, but has an undefined behavior if the
|
||||
input string contains non-ASCII characters. Patch by Victor Stinner.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix crash when calling :c:func:`Py_EndInterpreter` with a :term:`thread state` that isn't the initial thread for the interpreter.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Expose :c:func:`PyMutex_IsLocked` as part of the public C API.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Add :c:type:`PyUnstable_Unicode_GET_CACHED_HASH` to get the cached hash of a
|
||||
string.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Change :c:func:`!PyThread_allocate_lock` implementation to ``PyMutex``.
|
||||
On Windows, :c:func:`!PyThread_acquire_lock_timed` now supports the *intr_flag*
|
||||
parameter: it can be interrupted. Patch by Victor Stinner.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Implement :c:func:`PyObject_DelAttr` and :c:func:`PyObject_DelAttrString` as
|
||||
macros in the limited C API 3.12 and older. Patch by Victor Stinner.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Fix ``Py_RETURN_NONE``, ``Py_RETURN_TRUE`` and ``Py_RETURN_FALSE`` macros in
|
||||
the limited C API 3.11 and older: don't treat ``Py_None``, ``Py_True`` and
|
||||
``Py_False`` as immortal. Patch by Victor Stinner.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Remove the private, undocumented macro :c:macro:`!_Py_NO_SANITIZE_UNDEFINED`.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
New variants for the critical section API that accept one or two
|
||||
:c:type:`PyMutex` pointers rather than :c:type:`PyObject` instances are now
|
||||
public in the non-limited C API.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fix compilation errors when compiling the internal headers with a C++ compiler.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Make :c:func:`PyObject_SetAttr` and :c:func:`PyObject_SetAttrString` fail if
|
||||
called with ``NULL`` value and an exception set. Patch by Victor Stinner.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
On Solaris, the :c:macro:`!Py_NAN` macro now expands to a :c:type:`!double`
|
||||
instead of a function address. Patch by Bénédikt Tran.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Revert support of nullable arguments in :c:func:`PyArg_Parse`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Rename ``lock.h`` to ``pylock.h`` to avoid potential include conflicts.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Add API for checking an extension module's ABI compatibility:
|
||||
:c:data:`Py_mod_abi`, :c:func:`PyABIInfo_Check`, :c:macro:`PyABIInfo_VAR`
|
||||
and :c:data:`Py_mod_abi`.
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Functions :c:func:`_Py_c_sum`, :c:func:`_Py_c_diff`, :c:func:`_Py_c_neg`,
|
||||
:c:func:`_Py_c_prod`, :c:func:`_Py_c_quot`, :c:func:`_Py_c_pow` and previously
|
||||
undocumented :c:func:`_Py_c_abs` are :term:`soft deprecated`. Deprecate also
|
||||
:c:member:`~PyComplexObject.cval` field of the :c:type:`PyComplexObject` type.
|
||||
Patch by Sergey B Kirpichev.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Mark ``_PyOptimizer_Optimize`` as :c:macro:`Py_NO_INLINE` to
|
||||
prevent stack overflow crashes on macOS.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Display and raise an exception if an extension compiled for
|
||||
non-free-threaded Python is loaded in a free-threaded interpreter.
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
Implement :pep:`782`, the :c:type:`PyBytesWriter` API. Add functions:
|
||||
|
||||
* :c:func:`PyBytesWriter_Create`
|
||||
* :c:func:`PyBytesWriter_Discard`
|
||||
* :c:func:`PyBytesWriter_FinishWithPointer`
|
||||
* :c:func:`PyBytesWriter_FinishWithSize`
|
||||
* :c:func:`PyBytesWriter_Finish`
|
||||
* :c:func:`PyBytesWriter_Format`
|
||||
* :c:func:`PyBytesWriter_GetData`
|
||||
* :c:func:`PyBytesWriter_GetSize`
|
||||
* :c:func:`PyBytesWriter_GrowAndUpdatePointer`
|
||||
* :c:func:`PyBytesWriter_Grow`
|
||||
* :c:func:`PyBytesWriter_Resize`
|
||||
* :c:func:`PyBytesWriter_WriteBytes`
|
||||
|
||||
Patch by Victor Stinner.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Remove deprecated :c:func:`!PySys_ResetWarnOptions` C-API function.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Deprecate :c:member:`PyConfig.bytes_warning` field and schedule its removal
|
||||
in 3.17.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Add :c:func:`PyTuple_FromArray` to create a :class:`tuple` from an array.
|
||||
Patch by Victor Stinner.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Function watchers can now receive a PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event when a watched functions qualname is changed.
|
||||
Loading…
Add table
Add a link
Reference in a new issue