dcfaa52 | Serhiy Storchaka | 17 September 2020, 07:34:20 UTC | bpo-41715: Fix potential catastrofic backtracking in c_analyzer. (GH-22091) | 17 September 2020, 07:34:20 UTC |
7219e27 | Ethan Furman | 16 September 2020, 20:01:00 UTC | Enum: make `Flag` and `IntFlag` members iterable (GH-22221) | 16 September 2020, 20:01:00 UTC |
fc23a94 | Ethan Furman | 16 September 2020, 19:37:54 UTC | _auto_called cleanup (GH-22285) | 16 September 2020, 19:37:54 UTC |
a5634c4 | Pablo Galindo | 16 September 2020, 18:42:00 UTC | bpo-41746: Add type information to asdl_seq objects (GH-22223) * Add new capability to the PEG parser to type variable assignments. For instance: ``` | a[asdl_stmt_seq*]=';'.small_stmt+ [';'] NEWLINE { a } ``` * Add new sequence types from the asdl definition (automatically generated) * Make `asdl_seq` type a generic aliasing pointer type. * Create a new `asdl_generic_seq` for the generic case using `void*`. * The old `asdl_seq_GET`/`ast_seq_SET` macros now are typed. * New `asdl_seq_GET_UNTYPED`/`ast_seq_SET_UNTYPED` macros for dealing with generic sequences. * Changes all possible `asdl_seq` types to use specific versions everywhere. | 16 September 2020, 18:42:00 UTC |
5c1b46d | Ethan Furman | 16 September 2020, 18:37:24 UTC | acknowledge Weipeng Hong's contributions (GH-22284) | 16 September 2020, 18:37:24 UTC |
c95ad7a | Ethan Furman | 16 September 2020, 17:26:50 UTC | bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) fix default `_missing_` to return `None` instead of raising a `ValueError` Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com> | 16 September 2020, 17:26:50 UTC |
83f6dcd | Andre Delfino | 16 September 2020, 15:06:23 UTC | [doc] Minor improvements to is_typeddict (GH-22280) 1. The check is on the type 2. Add link to TypeDict | 16 September 2020, 15:06:23 UTC |
3064dbf | Ethan Furman | 16 September 2020, 14:11:57 UTC | bpo-41517: do not allow Enums to be extended (#22271) fix bug that let Enums be extended via multiple inheritance | 16 September 2020, 14:11:57 UTC |
0705ec8 | Patrick Reader | 16 September 2020, 04:58:32 UTC | bpo-41792: Add is_typeddict function to typing.py (GH-22254) Closes issue41792. Also closes https://github.com/python/typing/issues/751. | 16 September 2020, 04:58:32 UTC |
22415ad | Ethan Furman | 15 September 2020, 23:28:25 UTC | bpo-41789: honor object overrides in Enum classes (GH-22250) EnumMeta double-checks that `__repr__`, `__str__`, `__format__`, and `__reduce_ex__` are not the same as `object`'s, and replaces them if they are -- even if that replacement was intentionally done in the Enum being constructed. This patch fixes that. Automerge-Triggered-By: @ethanfurman | 15 September 2020, 23:28:25 UTC |
47f6ec4 | Tim Burke | 15 September 2020, 23:26:06 UTC | Doc: Fix broken manpage link (GH-21937) sigprocmask is in section 2, not 3. | 15 September 2020, 23:26:06 UTC |
bff01f3 | Ethan Furman | 15 September 2020, 22:56:26 UTC | bpo-39587: Enum - use correct mixed-in data type (GH-22263) | 15 September 2020, 22:56:26 UTC |
2e87774 | Batuhan Taskaya | 15 September 2020, 21:58:32 UTC | bpo-41780: Fix __dir__ of types.GenericAlias (GH-22262) Automerge-Triggered-By: @gvanrossum | 15 September 2020, 21:58:32 UTC |
ac0333e | Andre Delfino | 15 September 2020, 20:13:26 UTC | Fix all Python Cookbook links (#22205) | 15 September 2020, 20:13:26 UTC |
5a565b3 | Ethan Furman | 15 September 2020, 19:27:06 UTC | minor reformat of enum tests (GH-22259) Automerge-Triggered-By: @ethanfurman | 15 September 2020, 19:27:06 UTC |
5531269 | Mandeep | 15 September 2020, 19:20:49 UTC | Improve the description of difflib in the documentation (GH-22253) From "can produce difference information in various formats ..." to " can produce information about file differences in various formats ..." Automerge-Triggered-By: @Mariatta | 15 September 2020, 19:20:49 UTC |
e5fbe0c | Victor Stinner | 15 September 2020, 16:03:34 UTC | bpo-41631: _ast module uses again a global state (#21961) 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. | 15 September 2020, 16:03:34 UTC |
7bcc645 | Neeraj Samtani | 15 September 2020, 13:39:29 UTC | bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) Revise example of "continue" in the tutorial documentation | 15 September 2020, 13:39:29 UTC |
95a8a0e | Raymond Hettinger | 15 September 2020, 00:13:49 UTC | bpo-41513: Remove broken tests that fail on Gentoo (GH-22249) | 15 September 2020, 00:13:49 UTC |
542e1df | Ethan Furman | 14 September 2020, 20:32:44 UTC | bpo-40721: add note about enum member name case (GH-22231) * UPPER_CASE preferred as enum members are constants | 14 September 2020, 20:32:44 UTC |
7c11a9a | Václav Slavík | 14 September 2020, 19:30:15 UTC | bpo-41744: Package python.props with correct name in NuGet package (GH-22154) NuGet automatically includes .props file from the build directory in the target using the package, but only if the .props file has the correct name: it must be $(id).props Rename python.props correspondingly in all the nuspec variants. Also keep python.props as it were for backward compatibility. | 14 September 2020, 19:30:15 UTC |
8f2b991 | Zackery Spytz | 14 September 2020, 19:28:46 UTC | bpo-41646: Mention path-like objects support in the docs for shutil.copy() (GH-22208) | 14 September 2020, 19:28:46 UTC |
efcbe78 | abdo | 14 September 2020, 17:36:34 UTC | Fix a typo in locale Docs (#22233) | 14 September 2020, 17:36:34 UTC |
457d4e9 | Raymond Hettinger | 14 September 2020, 06:33:41 UTC | bpo-41513: Add docs and tests for hypot() (GH-22238) | 14 September 2020, 06:33:41 UTC |
7dbbea7 | Ned Deily | 14 September 2020, 05:18:01 UTC | bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) | 14 September 2020, 05:18:01 UTC |
94bfdee | Emmanuel Arias | 13 September 2020, 21:05:44 UTC | bpo-41778: Change a punctuation on documentation. (GH-22229) On this paragrapah the clarification about IIS7 seems there's not connection beacuase is in other sentence. Move the punctuation to connect both the last sentence with the information in the parenthesis. I think the NEWS is not necessary here. Automerge-Triggered-By: @ericvsmith | 13 September 2020, 21:05:44 UTC |
2ec6752 | Zackery Spytz | 13 September 2020, 20:27:51 UTC | bpo-38967: Improve the error msg for reserved _sunder_ names in enum (GH-18370) | 13 September 2020, 20:27:51 UTC |
b48389d | Sergey Fedoseev | 13 September 2020, 17:59:01 UTC | bpo-33239: Fix default value of 'buffering' parameter in docs of tempfile.* functions (GH-21763) `None` doesn't work: ```python >>> import tempfile >>> tempfile.TemporaryFile(buffering=None) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/sergey/tmp/cpython-dev/Lib/tempfile.py", line 607, in TemporaryFile return _io.open(fd, mode, buffering=buffering, TypeError: 'NoneType' object cannot be interpreted as an integer ``` Automerge-Triggered-By: @vsajip | 13 September 2020, 17:59:01 UTC |
c753306 | Norbert Cyran | 12 September 2020, 07:58:56 UTC | bpo-41672: Fix type mismatches in imaplib docs (GH-22207) | 12 September 2020, 07:58:56 UTC |
1b0f0e3 | Victor Stinner | 12 September 2020, 06:50:18 UTC | bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) Fix a race condition in the call_soon_threadsafe() method of asyncio.ProactorEventLoop: do nothing if the self-pipe socket has been closed. | 12 September 2020, 06:50:18 UTC |
7e711ea | Terry Jan Reedy | 12 September 2020, 06:25:36 UTC | bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206) Argument script_exec_args is usually an absolute file name, but twice has form ['-m', 'module_name']. | 12 September 2020, 06:25:36 UTC |
31c9828 | Terry Jan Reedy | 12 September 2020, 05:51:52 UTC | bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146) The problems occured with a repository build on machine with freshly updated Windows 10 Pro. | 12 September 2020, 05:51:52 UTC |
fb27187 | Stargirl Flowers | 11 September 2020, 15:20:12 UTC | [doc] struct: update note about network byte order form to be more helpful (GH-22201) Update the sentence to provide some context on why network byte order is defined as big endian. | 11 September 2020, 15:20:12 UTC |
3304cbd | Benjamin Peterson | 10 September 2020, 23:59:02 UTC | Doc: Fix alphabetical ordering of removeprefix/suffix. (GH-22194) | 10 September 2020, 23:59:02 UTC |
06d0b8b | Mark Roseman | 10 September 2020, 20:04:20 UTC | bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188) The new link responds much faster and begins with a short explanation of the status of the doc. | 10 September 2020, 20:04:20 UTC |
f76d894 | Mohamed Koubaa | 10 September 2020, 14:09:04 UTC | bpo-1635741: Port cmath to multi-phase init (PEP 489) (GH-22165) | 10 September 2020, 14:09:04 UTC |
1e874d5 | Bar Harel | 10 September 2020, 10:50:23 UTC | Update logging documentation to tidy up formatting (GH-22173) | 10 September 2020, 10:50:23 UTC |
788b79f | Andre Delfino | 10 September 2020, 06:33:13 UTC | [doc] Remove superfluous comment about equal in f-strings (GH-22006) Automerge-Triggered-By: @kushaldas | 10 September 2020, 06:33:13 UTC |
4712471 | Terry Jan Reedy | 09 September 2020, 22:53:18 UTC | Update idlelib/help.html to current IDLE doc (GH-22181) | 09 September 2020, 22:53:18 UTC |
7a797a3 | Andre Delfino | 09 September 2020, 22:17:14 UTC | Add missing colon to IDLE doc markup (GH-22007) | 09 September 2020, 22:17:14 UTC |
1b4552c | Maggie Moss | 09 September 2020, 20:23:24 UTC | bpo-41428: Implementation for PEP 604 (GH-21515) See https://www.python.org/dev/peps/pep-0604/ for more information. Co-authored-by: Pablo Galindo <pablogsal@gmail.com> | 09 September 2020, 20:23:24 UTC |
fa8c9e7 | Jakub Kulík | 09 September 2020, 19:29:42 UTC | bpo-41687: Fix error handling in Solaris sendfile implementation (GH-22128) I just realized that my recent PR with sendfile on Solaris ([PR 22040](https://github.com/python/cpython/pull/22040)) has broken error handling. Sorry for that, this simple followup fixes that. Automerge-Triggered-By: @1st1 | 09 September 2020, 19:29:42 UTC |
76553e5 | Vinay Sajip | 09 September 2020, 10:21:22 UTC | Add minor clarification in logging documentation. (GH-22167) | 09 September 2020, 10:21:22 UTC |
640e8e1 | Victor Stinner | 09 September 2020, 10:07:17 UTC | Fix compiler warnings in init_dump_ascii_wstr() (GH-22150) Fix GCC 9.3 (using -O3) warnings on x86: initconfig.c: In function ‘init_dump_ascii_wstr’: initconfig.c:2679:34: warning: format ‘%lc’ expects argument of type ‘wint_t’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2679 | PySys_WriteStderr("%lc", ch); initconfig.c:2682:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2682 | PySys_WriteStderr("\\x%02x", ch); initconfig.c:2686:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2686 | PySys_WriteStderr("\\U%08x", ch); initconfig.c:2690:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2690 | PySys_WriteStderr("\\u%04x", ch); | 09 September 2020, 10:07:17 UTC |
1e2f051 | Hai Shi | 09 September 2020, 09:48:44 UTC | bpo-41726: Update the refcounts info of PyType_FromModuleAndSpec in refcounts.dat (GH-22112) Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat | 09 September 2020, 09:48:44 UTC |
3ff6975 | Mohamed Koubaa | 09 September 2020, 03:28:48 UTC | bpo-1635741: port scproxy to multi-phase init (GH-22164) | 09 September 2020, 03:28:48 UTC |
58de1dd | Serhiy Storchaka | 09 September 2020, 00:28:02 UTC | bpo-41525: Make the Python program help ASCII-only (GH-21836) | 09 September 2020, 00:28:02 UTC |
594f0ce | Andre Delfino | 08 September 2020, 23:39:19 UTC | [doc] Fix padding in timeit (GH-22152) Compare -p and -u options help in rendered output to see the difference. | 08 September 2020, 23:39:19 UTC |
84ef33c | Graham Bleaney | 08 September 2020, 22:41:10 UTC | Fix typo in typing.py (GH-22121) This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references | 08 September 2020, 22:41:10 UTC |
3fd6999 | Irit Katriel | 08 September 2020, 19:40:04 UTC | bpo-38762: Extend logging.test_multiprocessing to cover missing cases. (GH-22142) | 08 September 2020, 19:40:04 UTC |
2de50f2 | Mark Shannon | 08 September 2020, 16:47:14 UTC | Fix incorrect bpo number in change notes. (GH-22151) | 08 September 2020, 16:47:14 UTC |
f315142 | Victor Stinner | 08 September 2020, 13:33:52 UTC | bpo-1635741: Port mashal module to multi-phase init (#22149) Port the 'mashal' extension module to the multi-phase initialization API (PEP 489). | 08 September 2020, 13:33:52 UTC |
bb083d3 | Victor Stinner | 08 September 2020, 13:33:08 UTC | bpo-1635741: Port _string module to multi-phase init (GH-22148) Port the _string extension module to the multi-phase initialization API (PEP 489). | 08 September 2020, 13:33:08 UTC |
52a2df1 | Mohamed Koubaa | 08 September 2020, 09:16:14 UTC | bpo-1635741: Convert _sha256 types to heap types (GH-22134) Convert the _sha256 extension module types to heap types. | 08 September 2020, 09:16:14 UTC |
15dcdb2 | Mohamed Koubaa | 08 September 2020, 08:59:15 UTC | bpo-1635741: Port the termios to multi-phase init (PEP 489) (GH-22139) | 08 September 2020, 08:59:15 UTC |
b0ac5d7 | dxflores | 08 September 2020, 07:28:45 UTC | bpo-41732: add iterator to memoryview (GH-22119) | 08 September 2020, 07:28:45 UTC |
207c321 | Erlend Egeberg Aasland | 07 September 2020, 21:26:54 UTC | bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909) Remove code required to support SQLite pre 3.7.3. Co-written-by: Berker Peksag <berker.peksag@gmail.com> Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | 07 September 2020, 21:26:54 UTC |
22748a8 | Artem Bulgakov | 07 September 2020, 16:46:33 UTC | bpo-41316: Make tarfile follow specs for FNAME (GH-21511) tarfile writes full path to FNAME field of GZIP format instead of just basename if user specified absolute path. Some archive viewers may process file incorrectly. Also it creates security issue because anyone can know structure of directories on system and know username or other personal information. RFC1952 says about FNAME: This is the original name of the file being compressed, with any directory components removed. So tarfile must remove directory names from FNAME and write only basename of file. Automerge-Triggered-By: @jaraco | 07 September 2020, 16:46:33 UTC |
fd4cafd | Serhiy Storchaka | 07 September 2020, 15:55:22 UTC | bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) | 07 September 2020, 15:55:22 UTC |
1baf030 | Mohamed Koubaa | 07 September 2020, 15:14:25 UTC | bpo-1635741 port _curses_panel to multi-phase init (PEP 489) (GH-21986) | 07 September 2020, 15:14:25 UTC |
2aabc32 | Mohamed Koubaa | 07 September 2020, 13:12:40 UTC | bpo-1635741: Port _overlapped module to multi-phase init (GH-22051) Port the _overlapped extension module to multi-phase initialization (PEP 489). | 07 September 2020, 13:12:40 UTC |
426f2b4 | Mohamed Koubaa | 07 September 2020, 08:48:44 UTC | bpo-1635741: Port _opcode module to multi-phase init (PEP 489) (GH-22050) | 07 September 2020, 08:48:44 UTC |
1aaa21f | Mohamed Koubaa | 07 September 2020, 08:27:55 UTC | bpo-1635741 port zlib module to multi-phase init (GH-21995) Port the zlib extension module to multi-phase initialization (PEP 489). | 07 September 2020, 08:27:55 UTC |
5bfd60f | Andre Delfino | 07 September 2020, 05:29:38 UTC | [doc] Add link to Generic in typing (GH-22125) | 07 September 2020, 05:29:38 UTC |
67c998d | Raymond Hettinger | 06 September 2020, 22:10:07 UTC | bpo-41513: Expand comments and add references for a better understanding (GH-22123) | 06 September 2020, 22:10:07 UTC |
63f102f | Mohamed Koubaa | 06 September 2020, 10:09:51 UTC | bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) Port the _sha1, _sha512, and _md5 extension modules to multi-phase initialization API (PEP 489). | 06 September 2020, 10:09:51 UTC |
5371a46 | Zackery Spytz | 06 September 2020, 03:39:23 UTC | closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) | 06 September 2020, 03:39:23 UTC |
2623868 | Andre Delfino | 05 September 2020, 23:40:25 UTC | [doc] Fix padding in some typing definitions (GH-22114) Automerge-Triggered-By: @gvanrossum | 05 September 2020, 23:40:25 UTC |
1264d04 | johnthagen | 05 September 2020, 20:53:47 UTC | Fix documented Python version for venv --upgrade-deps (GH-22113) Fixes incorrect Python version added for `venv` `--upgrade-deps` in #13100. This feature was added in Python 3.9 not 3.8. Relates to: - - https://github.com/python/cpython/commit/1cba1c9abadf76f458ecf883a48515aa3b534dbd Automerge-Triggered-By: @vsajip | 05 September 2020, 20:53:47 UTC |
7f331c8 | Erlend Egeberg Aasland | 05 September 2020, 20:43:31 UTC | bpo-40318: Migrate to SQLite3 trace v2 API (GH-19581) Ref. https://sqlite.org/c3ref/trace_v2.html Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 05 September 2020, 20:43:31 UTC |
8c0be6f | Jakub Kulík | 05 September 2020, 19:10:01 UTC | bpo-41687: Fix sendfile implementation to work with Solaris (#22040) | 05 September 2020, 19:10:01 UTC |
dd18001 | Steve Dower | 04 September 2020, 23:45:54 UTC | bpo-41627: Distinguish 32 and 64-bit user site packages on Windows (GH-22098) Also fixes the error message returned when sysconfig fails to interpolate a variable correctly. | 04 September 2020, 23:45:54 UTC |
51b84f8 | Zackery Spytz | 04 September 2020, 20:57:48 UTC | bpo-38585: Remove references to defusedexpat (GH-22095) defusedexpat is not maintained. | 04 September 2020, 20:57:48 UTC |
84a7917 | Stefan Krah | 04 September 2020, 20:33:17 UTC | bpo-41721: Add xlc options (GH-22096) | 04 September 2020, 20:33:17 UTC |
306cfb3 | Serhiy Storchaka | 04 September 2020, 18:19:30 UTC | bpo-40486: Specify what happens if directory content change diring iteration (GH-22025) | 04 September 2020, 18:19:30 UTC |
8171580 | Serhiy Storchaka | 04 September 2020, 17:55:41 UTC | bpo-41638: Improve ProgrammingError message for absent parameter. (GH-21999) It contains now the name of the parameter instead of its index when parameters are supplied as a dict. | 04 September 2020, 17:55:41 UTC |
4b8032e | Victor Stinner | 04 September 2020, 12:51:05 UTC | bpo-41713: _signal doesn't use multi-phase init (GH-22087) Partially revert commit 71d1bd9569c8a497e279f2fea6fe47cd70a87ea3: don't use multi-phase initialization (PEP 489) for the _signal extension module. | 04 September 2020, 12:51:05 UTC |
54a66ad | Dong-hee Na | 04 September 2020, 08:47:40 UTC | bpo-41700: Skip test if the locale is not supported (GH-22081) | 04 September 2020, 08:47:40 UTC |
cdbff35 | Vinay Sajip | 03 September 2020, 18:44:12 UTC | [doc] Update documentation on logging optimization. (GH-22075) | 03 September 2020, 18:44:12 UTC |
e55a0e9 | Pablo Galindo | 03 September 2020, 14:29:55 UTC | Fix 'gather' rules in the python parser generator (GH-22021) Currently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None" (the failure condition) to avoid false negatives. | 03 September 2020, 14:29:55 UTC |
315a61f | Pablo Galindo | 03 September 2020, 14:29:32 UTC | bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the parser (GH-22077) | 03 September 2020, 14:29:32 UTC |
8516060 | Mario Šaško | 03 September 2020, 10:00:10 UTC | [doc] Fix a typo in the graphlib docs (#22030) | 03 September 2020, 10:00:10 UTC |
71d1bd9 | Mohamed Koubaa | 03 September 2020, 08:21:06 UTC | bpo-1635741: Port _signal module to multi-phase init (PEP 489) (GH-22049) | 03 September 2020, 08:21:06 UTC |
e223d06 | Todd | 03 September 2020, 05:22:36 UTC | bpo-39883: Use BSD0 license for code in docs (GH-17635) The PSF board approved this use. | 03 September 2020, 05:22:36 UTC |
be435ae | Ben Darnell | 03 September 2020, 04:58:50 UTC | bpo-39010: Improve test shutdown (#22066) Simply closing the event loop isn't enough to avoid warnings. If we don't also shut down the event loop's default executor, it sometimes logs a "dangling thread" warning. Follow-up to GH-22017 | 03 September 2020, 04:58:50 UTC |
0770ad9 | Shantanu | 03 September 2020, 04:54:46 UTC | bpo-41696: Fix handling of debug mode in asyncio.run (#22069) * bpo-41696: Fix handling of debug mode in asyncio.run This allows PYTHONASYNCIODEBUG or -X dev to enable asyncio debug mode when using asyncio.run * 📜🤖 Added by blurb_it. Co-authored-by: hauntsaninja <> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | 03 September 2020, 04:54:46 UTC |
4a97b15 | Pablo Galindo | 02 September 2020, 16:44:19 UTC | bpo-41690: Use a loop to collect args in the parser instead of recursion (GH-22053) This program can segfault the parser by stack overflow: ``` import ast code = "f(" + ",".join(['a' for _ in range(100000)]) + ")" print("Ready!") ast.parse(code) ``` the reason is that the rule for arguments has a simple recursion when collecting args: args[expr_ty]: [...] | a=named_expression b=[',' c=args { c }] { [...] } | 02 September 2020, 16:44:19 UTC |
3940333 | Benjamin Peterson | 02 September 2020, 16:29:06 UTC | closes bpo-41689: Preserve text signature from tp_doc in C heap type creation. (GH-22058) | 02 September 2020, 16:29:06 UTC |
5a4a963 | Pablo Galindo | 02 September 2020, 14:29:38 UTC | Fix invalid escape sequences in the peg_highlight Sphinx extension (GH-22047) | 02 September 2020, 14:29:38 UTC |
f9c5e3f | Pablo Galindo | 02 September 2020, 14:29:12 UTC | bpo-41675: Modernize siginterrupt calls (GH-22028) siginterrupt is deprecated: ./Modules/signalmodule.c:667:5: warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 667 | if (siginterrupt(signalnum, flag)<0) { | 02 September 2020, 14:29:12 UTC |
51fece1 | Victor Stinner | 02 September 2020, 11:11:21 UTC | bpo-41685: Don't pin setuptools version anymore in Doc/Makefile (GH-22062) setuptools 50.0.2 is now compatible with Python 3.10: https://github.com/pypa/setuptools/pull/2361 | 02 September 2020, 11:11:21 UTC |
c0d5c13 | Victor Stinner | 02 September 2020, 10:29:31 UTC | bpo-40204: Update Sphinx to version 3.2.1 in Doc/Makefile (GH-22043) | 02 September 2020, 10:29:31 UTC |
93d50a6 | Mohamed Koubaa | 02 September 2020, 09:55:19 UTC | bpo-1635741: Port _sha3 module to multi-phase init (GH-21855) Port the _sha3 extension module to multi-phase init (PEP 489). Convert static types to heap types. | 02 September 2020, 09:55:19 UTC |
a7f0268 | Mohamed Koubaa | 02 September 2020, 09:45:13 UTC | bpo-1635741: Port _blake2 module to multi-phase init (GH-21856) Port the _blake2 extension module to the multi-phase initialization API (PEP 489). | 02 September 2020, 09:45:13 UTC |
749ed85 | han-solo | 02 September 2020, 08:56:37 UTC | Fixed mistake in test for f-string error description (GH-22036) (GH-22059) | 02 September 2020, 08:56:37 UTC |
5b24d15 | Raymond Hettinger | 02 September 2020, 05:00:50 UTC | Improve hypot() accuracy with three separate accumulators (GH-22032) | 02 September 2020, 05:00:50 UTC |
1d25f5b | Andre Delfino | 02 September 2020, 03:22:55 UTC | Remove reference to Boa Constructor. (GH-22012) | 02 September 2020, 03:22:55 UTC |
dea82b6 | Andre Delfino | 02 September 2020, 03:21:12 UTC | [doc] Remove references to PyChecker. (GH-22011) | 02 September 2020, 03:21:12 UTC |
700fa1b | Benjamin Peterson | 02 September 2020, 01:36:42 UTC | Note the buffer slots can be set with PyType_Spec with the unlimited API. (GH-22031) Follow up to f7c4e236429606e1c982cacf24e10fc86ef4462f. | 02 September 2020, 01:36:42 UTC |
17dc1b7 | Shantanu | 01 September 2020, 21:18:07 UTC | bpo-39349: Add cancel_futures to Executor.shutdown base class (GH-22023) * Add cancel_futures parameter to the Executor base class, since it was missed in the original PR (https://github.com/python/cpython/pull/18057) that added cancel_futures. | 01 September 2020, 21:18:07 UTC |