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

Python 3.11.0a6

parent 3b3be05a
No related branches found
No related tags found
No related merge requests found
Showing
with 1243 additions and 64 deletions
......@@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 11
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 5
#define PY_RELEASE_SERIAL 6
/* Version as a string */
#define PY_VERSION "3.11.0a5+"
#define PY_VERSION "3.11.0a6"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
......
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Thu Feb 3 18:35:23 2022
# Autogenerated by Sphinx on Mon Mar 7 12:29:42 2022
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
......@@ -2325,15 +2325,18 @@
'sequence\n'
'(such as a string, tuple or list) or other iterable object:\n'
'\n'
' for_stmt ::= "for" target_list "in" expression_list ":" '
'suite\n'
' for_stmt ::= "for" target_list "in" starred_list ":" suite\n'
' ["else" ":" suite]\n'
'\n'
'The expression list is evaluated once; it should yield an '
'iterable\n'
'object. An iterator is created for the result of the\n'
'"expression_list". The suite is then executed once for each '
'item\n'
'object. An iterator is created for the result of the '
'"starred_list".\n'
'The expression list can contain starred elements ("*x, *y") that '
'will\n'
'be unpacked in the final iterator (as when constructing a '
'"tuple" or\n'
'"list" literal). The suite is then executed once for each item\n'
'provided by the iterator, in the order returned by the '
'iterator. Each\n'
'item in turn is assigned to the target list using the standard '
......@@ -2382,6 +2385,10 @@
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, '
'2]".\n'
'\n'
'Changed in version 3.11: Starred elements are now allowed in '
'the\n'
'expression list.\n'
'\n'
'\n'
'The "try" statement\n'
'===================\n'
......@@ -5891,12 +5898,16 @@
'sequence\n'
'(such as a string, tuple or list) or other iterable object:\n'
'\n'
' for_stmt ::= "for" target_list "in" expression_list ":" suite\n'
' for_stmt ::= "for" target_list "in" starred_list ":" suite\n'
' ["else" ":" suite]\n'
'\n'
'The expression list is evaluated once; it should yield an iterable\n'
'object. An iterator is created for the result of the\n'
'"expression_list". The suite is then executed once for each item\n'
'object. An iterator is created for the result of the '
'"starred_list".\n'
'The expression list can contain starred elements ("*x, *y") that '
'will\n'
'be unpacked in the final iterator (as when constructing a "tuple" or\n'
'"list" literal). The suite is then executed once for each item\n'
'provided by the iterator, in the order returned by the iterator. '
'Each\n'
'item in turn is assigned to the target list using the standard rules\n'
......@@ -5933,7 +5944,10 @@
'all by the loop. Hint: the built-in function "range()" returns an\n'
'iterator of integers suitable to emulate the effect of Pascal’s "for '
'i\n'
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n',
':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n'
'\n'
'Changed in version 3.11: Starred elements are now allowed in the\n'
'expression list.\n',
'formatstrings': 'Format String Syntax\n'
'********************\n'
'\n'
......@@ -6293,19 +6307,19 @@
'"\'0\'" no\n'
'longer affects the default alignment for strings.\n'
'\n'
'The *precision* is a decimal number indicating how many '
'The *precision* is a decimal integer indicating how many '
'digits should\n'
'be displayed after the decimal point for a floating point '
'value\n'
'formatted with "\'f\'" and "\'F\'", or before and after the '
'decimal point\n'
'for a floating point value formatted with "\'g\'" or '
'"\'G\'". For non-\n'
'number types the field indicates the maximum field size - '
'in other\n'
'words, how many characters will be used from the field '
'content. The\n'
'*precision* is not allowed for integer values.\n'
'be displayed after the decimal point for presentation types '
'"\'f\'" and\n'
'"\'F\'", or before and after the decimal point for '
'presentation types\n'
'"\'g\'" or "\'G\'". For string presentation types the '
'field indicates the\n'
'maximum field size - in other words, how many characters '
'will be used\n'
'from the field content. The *precision* is not allowed for '
'integer\n'
'presentation types.\n'
'\n'
'Finally, the *type* determines how the data should be '
'presented.\n'
......
This diff is collapsed.
Intern strings in deep-frozen modules. Patch by Kumar Aditya.
Fix wasm32-emscripten test failures and platform issues.
- Disable syscalls that are not supported or don't work, e.g.
wait, getrusage, prlimit, mkfifo, mknod, setres[gu]id, setgroups.
- Use fd_count to cound open fds.
- Add more checks for subprocess and fork.
- Add workarounds for missing _multiprocessing and failing socket.accept().
- Enable bzip2.
- Disable large file support.
- Disable signal.alarm.
Exclude marshalled-frozen data if deep-freezing to save 300 KB disk space. This includes adding
a new ``is_package`` field to :c:struct:`_frozen`. Patch by Kumar Aditya.
Building Python now requires a C99 ``<math.h>`` header file providing a ``NAN``
constant, or the ``__builtin_nan()`` built-in function.
Patch by Victor Stinner.
Building Python now requires support for floating point Not-a-Number (NaN):
remove the ``Py_NO_NAN`` macro. Patch by by Victor Stinner.
Building Python now requires a C11 compiler without optional C11 features.
Patch by Victor Stinner.
Respect `--with-suffix` when building on case-insensitive file systems.
Added function :c:func:`PyType_GetModuleByDef`, which allows accesss to
module state when a method's defining class is not available.
Remove the ``HAVE_PY_SET_53BIT_PRECISION`` macro (moved to the internal C API).
Patch by Victor Stinner.
Rename ``Include/buffer.h`` header file to ``Include/pybuffer.h`` to avoid
conflits with projects having an existing ``buffer.h`` header file. Patch by
Victor Stinner.
Move the :c:type:`PyFrameObject` type definition (``struct _frame``) to the
internal C API ``pycore_frame.h`` header file. Patch by Victor Stinner.
Python's public headers no longer import ``<stdbool.h>``, leaving code that
embedd/extends Python free to define ``bool``, ``true`` and ``false``.
Fixed a minor portability issue in the implementation of
:c:func:`PyLong_FromLong`, and added a fast path for single-digit integers
to :c:func:`PyLong_FromLongLong`.
The bytecode compiler now attempts to apply runtime stack manipulations at
compile-time (whenever it is feasible to do so).
When iterating over sets internally in ``setobject.c``, acquire strong references to the resulting items from the set. This prevents crashes in corner-cases of various set operations where the set gets mutated.
Use :c:func:`PyObject_Vectorcall` while calling ctypes callback function.
Patch by Dong-hee Na.
Add a missing call to ``va_end()`` in ``Modules/_hashopenssl.c``.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment