Skip to content
Snippets Groups Projects
Unverified Commit 8e9afaf8 authored by Pablo Galindo's avatar Pablo Galindo
Browse files

Python 3.10.0a1

parent d02d824e
No related branches found
No related tags found
No related merge requests found
Showing
with 4131 additions and 563 deletions
......@@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 10
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 0
#define PY_RELEASE_SERIAL 1
/* Version as a string */
#define PY_VERSION "3.10.0a0"
#define PY_VERSION "3.10.0a1"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
......
This diff is collapsed.
This diff is collapsed.
Fixed an issue where the :mod:`zoneinfo` module and its tests were not
included when Python is installed with ``make``.
``make install`` now uses the ``PLATLIBDIR`` variable for the destination
``lib-dynload/`` directory when ``./configure --with-platlibdir`` is used.
The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` are now required
to build Python.
Pin Sphinx version to 2.3.1 in ``Doc/Makefile``.
Fix ``pycore_bitutils.h`` header file to support old clang versions:
``__builtin_bswap16()`` is not available in LLVM clang 3.0.
Update :c:macro:`Py_UNREACHABLE` to use __builtin_unreachable() if only the
compiler is able to use it. Patch by Dong-hee Na.
Remove superfluous "extern C" declarations from ``Include/cpython/*.h``.
The PyType_FromSpec*() functions no longer overwrite the type's "__module__" attribute
if it is set via "Py_tp_members" or "Py_tp_getset".
Convert :c:func:`Py_REFCNT` and :c:func:`Py_SIZE` macros to static inline
functions. They cannot be used as l-value anymore: use
:c:func:`Py_SET_REFCNT` and :c:func:`Py_SET_SIZE` to set an object reference
count and size. This change is backward incompatible on purpose, to prepare
the C API for an opaque :c:type:`PyObject` structure.
The result of :c:func:`PyNumber_Index` now always has exact type :class:`int`.
Previously, the result could have been an instance of a subclass of ``int``.
:c:func:`PyOS_InterruptOccurred` now fails with a fatal error if it is
called with the GIL released.
Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed for
historical reason. It is no longer allowed.
Fix a ``_PyEval_EvalCode()`` crash if *qualname* argument is NULL.
Allow defining buffer slots in type specs.
Export explicitly the :c:func:`Py_GetArgcArgv` function to the C API and
document the function. Previously, it was exported implicitly which no
longer works since Python is built with ``-fvisibility=hidden``.
The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use
:c:func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``:
``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``.
See :ref:`Parsing arguments and building values <arg-parsing>` and the
:pep:`353`.
On Windows, ``#include "pyerrors.h"`` no longer defines ``snprintf`` and
``vsnprintf`` macros.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment