summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Post 3.9.4Łukasz Langa2021-04-041-1/+1
|
* Python 3.9.4v3.9.4Łukasz Langa2021-04-041-2/+2
|
* [3.9] bpo-43710: Rollback the 3.9 bpo-42500 fix, it broke the ABI in 3.9.3 ↵Gregory P. Smith2021-04-042-1/+18
| | | | | | | (#25179) This reverts commit 8b795ab5541d8a4e69be4137dfdc207714270b77. It changed the PyThreadState structure size, breaking the ABI in 3.9.3.
* Post 3.9.3Łukasz Langa2021-04-021-1/+1
|
* Python 3.9.3v3.9.3Łukasz Langa2021-04-021-2/+2
|
* bpo-42500: Fix recursion in or after except (GH-23568) (#24501)Mark Shannon2021-03-022-18/+1
| | | | | * Use counter, rather boolean state when handling soft overflows. (cherry picked from commit 4e7a69bdb63a104587759d7784124492dcdd496e)
* Post 3.9.2Łukasz Langa2021-02-191-1/+1
|
* Python 3.9.2v3.9.2Łukasz Langa2021-02-191-3/+3
|
* Post 3.9.2rc1Łukasz Langa2021-02-161-1/+1
|
* Python 3.9.2rc1v3.9.2rc1Łukasz Langa2021-02-161-4/+4
|
* bpo-35295: Remove outdated comment. (GH-24453)Miss Islington (bot)2021-02-051-7/+0
| | | | | (cherry picked from commit d938816acf71a74f1bd13fdf0534b3d9ea962e44) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-43030: Fixed a compiler warning in Py_UNICODE_ISSPACE with signed ↵Miss Islington (bot)2021-01-311-1/+1
| | | | | | | wchar_t (GH-24350) (cherry picked from commit 42b1806af90b86ec393ca7da14e99ce95ec6c53b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.9] bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-23999) ↵Miss Islington (bot)2021-01-051-3/+3
| | | | | | | | | | | | | | | | | | | | (GH-24005) ``` In file included from /usr/include/python3.8/Python.h:147: In file included from /usr/include/python3.8/abstract.h:837: /usr/include/python3.8/cpython/abstract.h:91:11: error: cast from 'char *' to 'vectorcallfunc *' (aka 'struct _object *(**)(struct _object *, struct _object *const *, unsigned long, struct _object *)') increases required alignment from 1 to 8 [-Werror,-Wcast-align] ptr = (vectorcallfunc*)(((char *)callable) + offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ``` Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-Authored-By: Andreas Schneider <asn@cryptomilk.org> Co-Authored-By: Antoine Pitrou <antoine@python.org> (cherry picked from commit 056c08211b402b4dbc1530a9de9d00ad5309909f)
* bpo-42591: Export missing Py_FrozenMain() symbol (GH-23730) (GH-23734)Victor Stinner2020-12-141-0/+2
| | | | | | | Export the Py_FrozenMain() function: fix a Python 3.9.0 regression. Python 3.9 uses -fvisibility=hidden and the function was not exported explicitly and so not exported. (cherry picked from commit b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5)
* Post 3.9.1Łukasz Langa2020-12-081-1/+1
|
* Python 3.9.1v3.9.1Łukasz Langa2020-12-071-3/+3
|
* Post 3.9.1rc1Łukasz Langa2020-11-261-1/+1
|
* Python 3.9.1rc1v3.9.1rc1Łukasz Langa2020-11-241-4/+4
|
* bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-23347)Victor Stinner2020-11-171-0/+1
| | | | | | bpo-41686, bpo-41713: On Windows, the SIGINT event, _PyOS_SigintEvent(), is now created even if Python is configured to not install signal handlers (PyConfig.install_signal_handlers=0 or Py_InitializeEx(0)).
* bpo-41617: Add _Py__has_builtin() macro (GH-23260) (GH-23262)Victor Stinner2020-11-132-9/+18
| | | | | | | | | | | | Fix building pycore_bitutils.h internal header on old clang version without __builtin_bswap16() (ex: Xcode 4.6.3 on Mac OS X 10.7). Add a new private _Py__has_builtin() macro to check for availability of a preprocessor builtin function. Co-Authored-By: Joshua Root <jmr@macports.org> Co-authored-by: Joshua Root <jmr@macports.org> (cherry picked from commit b3b98082c5431e77c64cab2c85525a804436b505)
* bpo-41986: Add Py_FileSystemDefaultEncodeErrors and Py_UTF8Mode back to ↵Miss Skeleton (bot)2020-10-102-8/+7
| | | | | | | limited API (GH-22621) (cherry picked from commit 637a09b0d6e3ad4e34e0b5e0fc82f5afeae6f74b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Post 3.9.0Łukasz Langa2020-10-051-1/+1
|
* Python 3.9.0v3.9.0Łukasz Langa2020-10-051-3/+3
|
* Fix a compiler warning in pycore_pylifecycle.h (GH-22331)Pablo Galindo2020-10-041-1/+1
|
* bpo-41875: Use __builtin_unreachable when possible (GH-22433)Miss Islington (bot)2020-10-041-1/+3
| | | | | (cherry picked from commit 24ba3b0df5e5f2f237d7b23b4017ba12f16320ae) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* Post 3.9.0rc2Łukasz Langa2020-09-171-1/+1
|
* Python 3.9.0rc2v3.9.0rc2Łukasz Langa2020-09-161-2/+2
|
* [3.9] bpo-41631: _ast module uses again a global state (GH-21961) (GH-22258)Pablo Galindo2020-09-151-0/+1
| | | | | | | | | | | | | | | | | | | | Partially revert commit ac46eb4ad6662cf6d771b20d8963658b2186c48c: "bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)". Using a module state per module instance is causing subtle practical problems. For example, the Mercurial project replaces the __import__() function to implement lazy import, whereas Python expected that "import _ast" always return a fully initialized _ast module. Add _PyAST_Fini() to clear the state at exit. The _ast module has no state (set _astmodule.m_size to 0). Remove astmodule_traverse(), astmodule_clear() and astmodule_free() functions.. (cherry picked from commit e5fbe0cbd4be99ced5f000ad382208ad2a561c90) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-41617: Fix pycore_byteswap.h to support clang 3.0 (GH-22042) (GH-22044)Victor Stinner2020-09-011-4/+6
| | | | | __builtin_bswap16() is not available in LLVM clang 3.0. (cherry picked from commit e6905e4c82cc05897dc1bf5ab2b5b94b2b043a7f)
* Post 3.9.0rc1Łukasz Langa2020-08-111-1/+1
|
* Python 3.9.0rc1v3.9.0rc1Łukasz Langa2020-08-111-3/+3
|
* bpo-41098: Doc: Add missing deprecated directives (GH-21162)Miss Islington (bot)2020-08-071-2/+8
| | | | | | | PyUnicodeEncodeError_Create has been deprecated with `Py_DEPRECATED` macro. But it was not documented. (cherry picked from commit 46e19b61d31ba99f049258efa4ff1334856a3643) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-41366: Fix clang warning for sign conversion (GH-21592)Miss Islington (bot)2020-07-231-1/+1
| | | | | (cherry picked from commit 680254a8dc64e3ada00f88a7c42d41eb02108353) Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
* Post 3.9.0b5Łukasz Langa2020-07-201-1/+1
|
* Python 3.9.0b5v3.9.0b5Łukasz Langa2020-07-201-2/+2
|
* Revert "bpo-40170: PyType_HasFeature() now always calls PyType_GetFlags() ↵Miss Islington (bot)2020-07-081-2/+10
| | | | | | | | (GH-19378)" (GH-21390) This partially reverts commit 45ec5b99aefa54552947049086e87ec01bc2fc9a. (cherry picked from commit b26a0db8ea2de3a8a8e4b40e69fc8642c7d7cb68) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-41165: Deprecate PyEval_ReleaseLock() (GH-21309)Miss Islington (bot)2020-07-061-1/+5
| | | | | (cherry picked from commit 9ce8132e1f2339cfe116dfd4795574182c2245b4) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Uncomment Py_DEPRECATED for Py_UNICODE APIs (GH-21318)Miss Islington (bot)2020-07-051-2/+2
| | | | | | | | PyUnicode_EncodeDecimal and PyUnicode_TransformDecimalToASCII are deprecated since Python 3.3. But Py_DEPRECATED(3.3) was commented out. (cherry picked from commit 13c90e82b6a1c3baff7f48f1bdc38058f6072f04) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Post 3.9.0b4Łukasz Langa2020-07-031-1/+1
|
* Python 3.9.0b4v3.9.0b4Łukasz Langa2020-07-021-2/+2
|
* [3.9] bpo-40939: Deprecate PyNode_Compile (GH-21036)Lysandros Nikolaou2020-06-221-0/+3
| | | Automerge-Triggered-By: @pablogsal
* [3.9] Do not emit deprecation warnings inside CPython for old parser APIs ↵Pablo Galindo2020-06-211-7/+15
| | | | (GH-21025)
* [3.9] bpo-40939: Deprecate the PyParser_SimpleParse* functions (GH-21012)Lysandros Nikolaou2020-06-211-8/+7
|
* bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878)Inada Naoki2020-06-181-22/+23
| | | | | Co-authored-by: Kyle Stanley <aeros167@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 2c4928d37edc5e4aeec3c0b79fa3460b1ec9b60d)
* bpo-19569: Add a macro to suppress deprecation warnings (GH-9004)Miss Islington (bot)2020-06-171-0/+20
| | | | | | Co-authored-by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (cherry picked from commit de4304dad8e035dbbb57d653e685312eead816df) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-36020: Remove snprintf macro in pyerrors.h (GH-20889)Miss Islington (bot)2020-06-151-15/+2
| | | | | | | | | | | | | On Windows, GH-include "pyerrors.h" no longer defines "snprintf" and "vsnprintf" macros. PyOS_snprintf() and PyOS_vsnprintf() should be used to get portable behavior. Replace snprintf() calls with PyOS_snprintf() and replace vsnprintf() calls with PyOS_vsnprintf(). (cherry picked from commit e822e37946f27c09953bb5733acf3b07c2db690f) Co-authored-by: Victor Stinner <vstinner@python.org>
* Post 3.9.0b3Łukasz Langa2020-06-091-1/+1
|
* Python 3.9.0b3v3.9.0b3Łukasz Langa2020-06-091-2/+2
|
* Post 3.9.0b2Łukasz Langa2020-06-091-1/+1
|
* Python 3.9.0b2v3.9.0b2Łukasz Langa2020-06-081-2/+2
|