mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Merge tag 'v3.8.0b2' into 3.8
Python 3.8.0b2
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
#define PY_MINOR_VERSION 8
|
||||
#define PY_MICRO_VERSION 0
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
|
||||
#define PY_RELEASE_SERIAL 1
|
||||
#define PY_RELEASE_SERIAL 2
|
||||
|
||||
/* Version as a string */
|
||||
#define PY_VERSION "3.8.0b1+"
|
||||
#define PY_VERSION "3.8.0b2"
|
||||
/*--end constants--*/
|
||||
|
||||
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Tue Jun 4 19:40:37 2019
|
||||
# Autogenerated by Sphinx on Thu Jul 4 12:44:09 2019
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
@@ -3758,6 +3758,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||
'\n'
|
||||
" import pdb; pdb.Pdb(skip=['django.*']).set_trace()\n"
|
||||
'\n'
|
||||
' Raises an auditing event "pdb.Pdb" with no arguments.\n'
|
||||
'\n'
|
||||
' New in version 3.1: The *skip* argument.\n'
|
||||
'\n'
|
||||
' New in version 3.2: The *nosigint* argument. Previously, a '
|
||||
@@ -4289,7 +4291,14 @@ topics = {'assert': 'The "assert" statement\n'
|
||||
'section The standard type hierarchy. (To summarize, the key type\n'
|
||||
'should be *hashable*, which excludes all mutable objects.) Clashes\n'
|
||||
'between duplicate keys are not detected; the last datum (textually\n'
|
||||
'rightmost in the display) stored for a given key value prevails.\n',
|
||||
'rightmost in the display) stored for a given key value prevails.\n'
|
||||
'\n'
|
||||
'Changed in version 3.8: Prior to Python 3.8, in dict '
|
||||
'comprehensions,\n'
|
||||
'the evaluation order of key and value was not well-defined. In\n'
|
||||
'CPython, the value was evaluated before the key. Starting with '
|
||||
'3.8,\n'
|
||||
'the key is evaluated before the value, as proposed by **PEP 572**.\n',
|
||||
'dynamic-features': 'Interaction with dynamic features\n'
|
||||
'*********************************\n'
|
||||
'\n'
|
||||
|
||||
933
Misc/NEWS.d/3.8.0b2.rst
Normal file
933
Misc/NEWS.d/3.8.0b2.rst
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +0,0 @@
|
||||
Many ``PyRun_XXX()`` functions like :c:func:`PyRun_String` were no longer
|
||||
exported in ``libpython38.dll`` by mistake. Export them again to fix the ABI
|
||||
compatibiliy.
|
||||
@@ -1 +0,0 @@
|
||||
Fix the cast on error in :c:func:`PyLong_AsUnsignedLongLongMask()`.
|
||||
@@ -1,3 +0,0 @@
|
||||
Python.h does not need compiler support for intermingled declarations (GCC's
|
||||
``-Wdeclaration-after-statement``), which were added in 3.8.0 Beta 1. Note
|
||||
that in Python 3.9, intermingled declarations will be needed again.
|
||||
@@ -1 +0,0 @@
|
||||
Fix dtrace issue introduce by bpo-36842
|
||||
@@ -1,3 +0,0 @@
|
||||
The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create
|
||||
code objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount*
|
||||
parameter for indicating the number of positonal-only arguments.
|
||||
@@ -1,4 +0,0 @@
|
||||
``tp_print`` is put back at the end of the ``PyTypeObject`` structure
|
||||
to restore support for old code (in particular generated by Cython)
|
||||
setting ``tp_print = 0``.
|
||||
Note that ``tp_print`` will be removed entirely in Python 3.9.
|
||||
@@ -1 +0,0 @@
|
||||
The :const:`METH_FASTCALL` calling convention has been documented.
|
||||
@@ -1 +0,0 @@
|
||||
Add :func:`PyConfig_SetWideStringList` function.
|
||||
@@ -1,2 +0,0 @@
|
||||
Add :func:`threading.get_native_id` support for AIX.
|
||||
Patch by M. Felt
|
||||
@@ -1 +0,0 @@
|
||||
:func:`threading.get_native_id` now also supports NetBSD.
|
||||
@@ -1,2 +0,0 @@
|
||||
The slot ``tp_vectorcall_offset`` is inherited unconditionally to support
|
||||
``super().__call__()`` when the base class uses vectorcall.
|
||||
@@ -1 +0,0 @@
|
||||
Slot functions optimize any callable with ``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances of ``function``.
|
||||
@@ -1 +0,0 @@
|
||||
Remove errorneous optimization for empty set differences.
|
||||
@@ -1,2 +0,0 @@
|
||||
Handle correctly negative line offsets in the peephole optimizer. Patch by
|
||||
Pablo Galindo.
|
||||
@@ -1,2 +0,0 @@
|
||||
Fix a bug in the peephole optimizer that was not treating correctly constant
|
||||
conditions with binary operators. Patch by Pablo Galindo.
|
||||
@@ -1 +0,0 @@
|
||||
Fix the :c:func:`PySys_Audit` call in :class:`mmap.mmap`.
|
||||
@@ -1,2 +0,0 @@
|
||||
Reverse evaluation order of key: value in dict comprehensions as proposed in PEP 572.
|
||||
I.e. in ``{k: v for ...}``, ``k`` will be evaluated before ``v``.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user