89fc4a3 | Victor Stinner | 06 May 2020, 16:23:58 UTC | bpo-40521: Disable method cache in subinterpreters (GH-19960) When Python is built with experimental isolated interpreters, disable the type method cache. Temporary workaround until the cache is made per-interpreter. | 06 May 2020, 16:23:58 UTC |
091951a | Batuhan Taskaya | 06 May 2020, 14:29:32 UTC | bpo-40528: Improve and clear several aspects of the ASDL definition code for the AST (GH-19952) | 06 May 2020, 14:29:32 UTC |
2668a9a | Victor Stinner | 06 May 2020, 13:22:17 UTC | bpo-40527: Fix command line argument parsing (GH-19955) | 06 May 2020, 13:22:17 UTC |
eff870b | Raymond Hettinger | 06 May 2020, 05:33:55 UTC | Revert "bpo-40517: Implement syntax highlighting support for ASDL (#19928)" (#19950) This reverts commit d60040ba226bd2e3b6f58d074015aa2499dc1cb8. | 06 May 2020, 05:33:55 UTC |
d60040b | Batuhan Taskaya | 06 May 2020, 05:24:39 UTC | bpo-40517: Implement syntax highlighting support for ASDL (#19928) | 06 May 2020, 05:24:39 UTC |
b9c46a2 | Tim Peters | 06 May 2020, 02:28:24 UTC | bpo-40480 "fnmatch" exponential execution time (GH-19908) bpo-40480: create different regexps in the presence of multiple `*` patterns to prevent fnmatch() from taking exponential time. | 06 May 2020, 02:28:24 UTC |
96074de | Pablo Galindo | 05 May 2020, 21:58:19 UTC | bpo-40523: Add pass-throughs for hash() and reversed() to weakref.proxy objects (GH-19946) | 05 May 2020, 21:58:19 UTC |
1253c3e | Dennis Sweeney | 05 May 2020, 21:14:32 UTC | bpo-40504: Allow weakrefs to lru_cache objects (GH-19938) | 05 May 2020, 21:14:32 UTC |
c21c512 | Curtis Bucher | 05 May 2020, 19:40:56 UTC | bpo-40355: Improve error messages in ast.literal_eval with malformed Dict nodes (GH-19868) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 05 May 2020, 19:40:56 UTC |
fb2c7c4 | Victor Stinner | 05 May 2020, 18:33:06 UTC | bpo-40513: _xxsubinterpreters.run_string() releases the GIL (GH-19944) In the experimental isolated subinterpreters build mode, _xxsubinterpreters.run_string() now releases the GIL. | 05 May 2020, 18:33:06 UTC |
7be4e35 | Victor Stinner | 05 May 2020, 18:27:47 UTC | bpo-40513: Per-interpreter GIL (GH-19943) In the experimental isolated subinterpreters build mode, the GIL is now per-interpreter. Move gil from _PyRuntimeState.ceval to PyInterpreterState.ceval. new_interpreter() always get the config from the main interpreter. | 05 May 2020, 18:27:47 UTC |
0dd5e7a | Victor Stinner | 05 May 2020, 18:16:37 UTC | bpo-40513: new_interpreter() init GIL earlier (GH-19942) Fix also code to handle init_interp_main() failure. | 05 May 2020, 18:16:37 UTC |
e838a93 | Victor Stinner | 05 May 2020, 17:56:48 UTC | bpo-40522: _PyThreadState_Swap() sets autoTSSkey (GH-19939) In the experimental isolated subinterpreters build mode, _PyThreadState_GET() gets the autoTSSkey variable and _PyThreadState_Swap() sets the autoTSSkey variable. * Add _PyThreadState_GetTSS() * _PyRuntimeState_GetThreadState() and _PyThreadState_GET() return _PyThreadState_GetTSS() * PyEval_SaveThread() sets the autoTSSkey variable to current Python thread state rather than NULL. * eval_frame_handle_pending() doesn't check that _PyThreadState_Swap() result is NULL. * _PyThreadState_Swap() gets the current Python thread state with _PyThreadState_GetTSS() rather than _PyRuntimeGILState_GetThreadState(). * PyGILState_Ensure() no longer checks _PyEval_ThreadsInitialized() since it cannot access the current interpreter. | 05 May 2020, 17:56:48 UTC |
b4b5386 | Victor Stinner | 05 May 2020, 17:55:29 UTC | bpo-40521: Disable free lists in subinterpreters (GH-19937) When Python is built with experimental isolated interpreters, disable tuple, dict and free free lists. Temporary workaround until these caches are made per-interpreter. Add frame_alloc() and frame_get_builtins() subfunctions to simplify _PyFrame_New_NoTrack(). | 05 May 2020, 17:55:29 UTC |
ac4bf42 | Steve Dower | 05 May 2020, 17:45:35 UTC | bpo-40458: Increase reserved stack space to prevent overflow crash on Windows (GH-19845) | 05 May 2020, 17:45:35 UTC |
607b102 | Victor Stinner | 05 May 2020, 16:50:30 UTC | bpo-40521: Disable Unicode caches in isolated subinterpreters (GH-19933) When Python is built in the experimental isolated subinterpreters mode, disable Unicode singletons and Unicode interned strings since they are shared by all interpreters. Temporary workaround until these caches are made per-interpreter. | 05 May 2020, 16:50:30 UTC |
299b8c6 | Victor Stinner | 05 May 2020, 15:40:18 UTC | Revert "bpo-40513: Per-interpreter signals pending (GH-19924)" (GH-19932) This reverts commit 4e01946cafca0cf49f796c3118e0d65237bcad69. | 05 May 2020, 15:40:18 UTC |
6351d9e | Hai Shi | 05 May 2020, 15:20:38 UTC | bpo-40520: Remove redundant comment in pydebug.h (GH-19931) Automerge-Triggered-By: @corona10 | 05 May 2020, 15:20:38 UTC |
b0be6b3 | Victor Stinner | 05 May 2020, 15:07:41 UTC | bpo-29587: _PyErr_ChainExceptions() checks exception (GH-19902) _PyErr_ChainExceptions() now ensures that the first parameter is an exception type, as done by _PyErr_SetObject(). * The following function now check PyExceptionInstance_Check() in an assertion using a new _PyBaseExceptionObject_cast() helper function: * PyException_GetTraceback(), PyException_SetTraceback() * PyException_GetCause(), PyException_SetCause() * PyException_GetContext(), PyException_SetContext() * PyExceptionClass_Name() now checks PyExceptionClass_Check() with an assertion. * Remove XXX comment and add gi_exc_state variable to _gen_throw(). * Remove comment from test_generators | 05 May 2020, 15:07:41 UTC |
4e30ed3 | Victor Stinner | 05 May 2020, 14:52:52 UTC | bpo-40513: Per-interpreter recursion_limit (GH-19929) Move recursion_limit member from _PyRuntimeState.ceval to PyInterpreterState.ceval. * Py_SetRecursionLimit() now only sets _Py_CheckRecursionLimit of ceval.c if the current Python thread is part of the main interpreter. * Inline _Py_MakeEndRecCheck() into _Py_LeaveRecursiveCall(). * Convert _Py_RecursionLimitLowerWaterMark() macro into a static inline function. | 05 May 2020, 14:52:52 UTC |
627f701 | Javier Buzzi | 05 May 2020, 14:49:57 UTC | bpo-32117: Updated Simpsons names in docs (GH-19737) `sally` is not a Simpsons character Automerge-Triggered-By: @gvanrossum | 05 May 2020, 14:49:57 UTC |
c5fa364 | Victor Stinner | 05 May 2020, 14:41:11 UTC | bpo-40514: Add --with-experimental-isolated-subinterpreters (GH-19926) Add --with-experimental-isolated-subinterpreters build option to configure: better isolate subinterpreters, experimental build mode. When used, force the usage of the libc malloc() memory allocator, since pymalloc relies on the unique global interpreter lock (GIL). | 05 May 2020, 14:41:11 UTC |
0b1e330 | Victor Stinner | 05 May 2020, 14:14:31 UTC | bpo-40513: Per-interpreter gil_drop_request (GH-19927) Move gil_drop_request member from _PyRuntimeState.ceval to PyInterpreterState.ceval. | 05 May 2020, 14:14:31 UTC |
4e01946 | Victor Stinner | 05 May 2020, 13:43:37 UTC | bpo-40513: Per-interpreter signals pending (GH-19924) Move signals_pending from _PyRuntime.ceval to PyInterpreterState.ceval. | 05 May 2020, 13:43:37 UTC |
f01d1be | Raymond Hettinger | 05 May 2020, 05:52:13 UTC | bpo-40286: Put methods in correct sections. Add security notice to use secrets for session tokens. (GH-19870) | 05 May 2020, 05:52:13 UTC |
1e7e451 | Dennis Sweeney | 05 May 2020, 02:33:17 UTC | bpo-40459: Fix NameError in platform.py (GH-19855) | 05 May 2020, 02:33:17 UTC |
92a98ed | Dong-hee Na | 05 May 2020, 01:49:46 UTC | bpo-1635741: Port syslog module to multiphase initialization (GH-19907) | 05 May 2020, 01:49:46 UTC |
9d74658 | Joel Rosdahl | 04 May 2020, 21:56:00 UTC | bpo-40499: Mention that asyncio.wait() needs a non-empty aws set (GH-19900) A similar formulation was added in bpo-21596 (db74d982d43d98040e38665d843cbc8de4a082b1) but was lost in bpo-33649 (3faaa8857a42a36383bb18425444e597fc876797). | 04 May 2020, 21:56:00 UTC |
f25fb6e | Joannah Nanjekye | 04 May 2020, 19:47:03 UTC | bpo-39470: Indicate that ``os.makedirs`` is equivalent to ``Path.mkdir`` (GH-18216) * Indicate os.makedirs is equivalent to Path.mkdir * 📜🤖 Added by blurb_it. * ignore news feed Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | 04 May 2020, 19:47:03 UTC |
18f1c60 | Miro Hrončok | 04 May 2020, 19:02:00 UTC | bpo-40360: Add a What's New entry for lib2to3 pending deprecation (GH-19898) | 04 May 2020, 19:02:00 UTC |
975408c | Hai Shi | 04 May 2020, 18:05:02 UTC | bpo-40275: test.support imports lazily locale import (GH-19761) | 04 May 2020, 18:05:02 UTC |
785f5e6 | Dong-hee Na | 04 May 2020, 17:30:42 UTC | bpo-40489: Add test case for dict contain use after free (GH-19906) | 04 May 2020, 17:30:42 UTC |
caa3ef2 | Hai Shi | 04 May 2020, 15:05:54 UTC | bpo-40135: Fix multiprocessing test_shared_memory_across_processes() (GH-19892) Don't define shared memory block's name in test_shared_memory_across_processes(): use SharedMemory(create=True) instead. | 04 May 2020, 15:05:54 UTC |
b88cd58 | Dong-hee Na | 04 May 2020, 13:32:42 UTC | bpo-40455: Remove gcc10 warning about x_digits (#19852) * bpo-40455: Remove gcc10 warning about x_digits * bpo-40455: nit * bpo-40455: fix logic error | 04 May 2020, 13:32:42 UTC |
5e8ffe1 | Hai Shi | 04 May 2020, 13:31:38 UTC | bpo-39573: Use Py_IS_TYPE to check for types (GH-19882) | 04 May 2020, 13:31:38 UTC |
846d8b2 | Lysandros Nikolaou | 04 May 2020, 11:32:18 UTC | bpo-40246: Revert reporting of invalid string prefixes (GH-19888) Due to backwards compatibility concerns regarding keywords immediately followed by a string without whitespace between them (like in `bg="#d00" if clear else"#fca"`) will fail to parse, commit 41d5b94af44e34ac05d4cd57460ed104ccf96628 has to be reverted. | 04 May 2020, 11:32:18 UTC |
e10e7c7 | Lysandros Nikolaou | 04 May 2020, 10:58:31 UTC | bpo-40334: Spacialized error message for invalid args after bare '*' (GH-19865) When parsing things like `def f(*): pass` the old parser used to output `SyntaxError: named arguments must follow bare *`, which the new parser wasn't able to do. | 04 May 2020, 10:58:31 UTC |
c3f0014 | Shantanu | 04 May 2020, 08:13:30 UTC | bpo-40491: Fix typo in syntax error for numeric literals (GH-19893) | 04 May 2020, 08:13:30 UTC |
41a6458 | Serhiy Storchaka | 04 May 2020, 07:56:05 UTC | bpo-40408: Fix support of nested type variables in GenericAlias. (GH-19836) | 04 May 2020, 07:56:05 UTC |
603d354 | Shantanu | 04 May 2020, 05:08:14 UTC | bpo-40493: fix function type comment parsing (GH-19894) The grammar for func_type_input rejected things like `(*t1) ->t2`. This fixes that. Automerge-Triggered-By: @gvanrossum | 04 May 2020, 05:08:14 UTC |
c95e691 | Anthony Shaw | 04 May 2020, 02:03:05 UTC | Clean up unused imports for the peg generator module (GH-19891) | 04 May 2020, 02:03:05 UTC |
7f06af6 | Lysandros Nikolaou | 04 May 2020, 00:20:09 UTC | bpo-40334: Set error_indicator in _PyPegen_raise_error (GH-19887) Due to PyErr_Occurred not being called at the beginning of each rule, we need to set the error indicator, so that rules do not get expanded after an exception has been thrown | 04 May 2020, 00:20:09 UTC |
ad9eaea | Raymond Hettinger | 03 May 2020, 23:45:13 UTC | Remove outdated and confusing advice about setting maxsize (GH-19889) | 03 May 2020, 23:45:13 UTC |
d699d5e | Raymond Hettinger | 03 May 2020, 18:25:46 UTC | Remove out-of-date comment (GH-19886) | 03 May 2020, 18:25:46 UTC |
493bf1c | Batuhan Taskaya | 03 May 2020, 17:11:51 UTC | bpo-38870: Don't start generated output with newlines in ast.unparse (GH-19636) | 03 May 2020, 17:11:51 UTC |
3dd2157 | Raymond Hettinger | 03 May 2020, 11:51:05 UTC | Simplify set entry insertion logic. (GH-19881) | 03 May 2020, 11:51:05 UTC |
21893fb | Chris Jerdonek | 03 May 2020, 07:07:57 UTC | bpo-29587: allow chaining NULL exceptions in _gen_throw() (GH-19877) This is a follow-up to GH-19823 that removes the check that the exception value isn't NULL, prior to calling _PyErr_ChainExceptions(). This enables implicit exception chaining for gen.throw() in more circumstances. The commit also adds a test that a particular code snippet involving gen.throw() doesn't crash. The test shows why the new `gi_exc_state.exc_type != Py_None` check that was added is necessary. Without the new check, the code snippet (as well as a number of other tests) crashes on certain platforms (e.g. Fedora but not Mac). | 03 May 2020, 07:07:57 UTC |
0400a7f | Raymond Hettinger | 03 May 2020, 02:30:24 UTC | Minor code cleanups for statistics (GH-19873) * Minor cleanups: Removed unused code. Move C import near its Python version. * Clean-up whitespace | 03 May 2020, 02:30:24 UTC |
8aab843 | Mathieu Dupuy | 02 May 2020, 23:50:47 UTC | Fix missing space in docs(GH-19866) | 02 May 2020, 23:50:47 UTC |
190fac9 | Raymond Hettinger | 02 May 2020, 23:45:32 UTC | bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867) | 02 May 2020, 23:45:32 UTC |
7663523 | Sander | 02 May 2020, 16:12:05 UTC | bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752) | 02 May 2020, 16:12:05 UTC |
b7226eb | Pablo Galindo | 02 May 2020, 15:15:27 UTC | Call $(MKDIR_P) before regenerating the PEG meta-parser (GH-19861) | 02 May 2020, 15:15:27 UTC |
531d1e5 | Serhiy Storchaka | 02 May 2020, 06:38:01 UTC | bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846) It was positional-only de facto: documentation and two implementations used three different name. | 02 May 2020, 06:38:01 UTC |
d2baff4 | Pablo Galindo | 02 May 2020, 04:23:39 UTC | bpo-40334: regenerate metaparser as part of regen-all (GH-19854) | 02 May 2020, 04:23:39 UTC |
9dbaa8d | Pablo Galindo | 02 May 2020, 04:23:06 UTC | Fix some scripts in the peg generator folder (GH-19853) | 02 May 2020, 04:23:06 UTC |
0204726 | Chris Jerdonek | 02 May 2020, 01:14:19 UTC | bpo-29587: Update gen.throw() to chain exceptions (#19823) Before this commit, if an exception was active inside a generator when calling gen.throw(), that exception was lost (i.e. there was no implicit exception chaining). This commit fixes that by setting exc.__context__ when calling gen.throw(exc). | 02 May 2020, 01:14:19 UTC |
f40bd46 | Robert Rouhani | 01 May 2020, 23:28:06 UTC | bpo-40417: Fix deprecation warning in PyImport_ReloadModule (GH-19750) I can add another commit with the new test case I wrote to verify that the warning was being printed before my change, stopped printing after my change, and that the function does not return null after my change. Automerge-Triggered-By: @brettcannon | 01 May 2020, 23:28:06 UTC |
7ba08ff | Pablo Galindo | 01 May 2020, 22:14:12 UTC | bpo-40334: use the TOKENS file when checking dangling rules (GH-19849) | 01 May 2020, 22:14:12 UTC |
6bd99d5 | Pablo Galindo | 01 May 2020, 21:33:54 UTC | Fix the Tools/peg_generator/scripts/benchmark.py script (GH-19848) | 01 May 2020, 21:33:54 UTC |
289842a | Shantanu | 01 May 2020, 19:46:01 UTC | bpo-39435: Fix docs for pickle.loads (GH-18160) | 01 May 2020, 19:46:01 UTC |
64224a4 | Gregory Szorc | 01 May 2020, 18:07:54 UTC | bpo-40412: Nullify inittab_copy during finalization (GH-19746) Otherwise we leave a dangling pointer to free'd memory. If we then initialize a new interpreter in the same process and call PyImport_ExtendInittab, we will (likely) crash when calling PyMem_RawRealloc(inittab_copy, ...) since the pointer address is bogus. Automerge-Triggered-By: @brettcannon | 01 May 2020, 18:07:54 UTC |
831d58d | Shantanu | 01 May 2020, 17:52:10 UTC | bpo-39691: Clarify io.open_code behavior (GH-19824) | 01 May 2020, 17:52:10 UTC |
4168f1e | Raymond Hettinger | 01 May 2020, 17:34:19 UTC | Simplify choice()'s interaction with the private _randbelow() method (GH-19831) | 01 May 2020, 17:34:19 UTC |
03b7642 | Lysandros Nikolaou | 01 May 2020, 17:30:51 UTC | bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-19839) This commit makes both APIs more consistent by doing the following: - Remove the `PyPegen_CodeObjectFrom*` functions, which weren't used and will probably not be needed. Functions like `Py_CompileStringObject` can be used instead. - Include a `const char *filename` parameter in `PyPegen_ASTFromString`. - Rename `PyPegen_ASTFromFile` to `PyPegen_ASTFromFilename`, because its signature is not the same with `PyParser_ASTFromFile`. | 01 May 2020, 17:30:51 UTC |
d9d6ead | Guido van Rossum | 01 May 2020, 16:42:32 UTC | Ensure that tok->type_comments is set on every path (GH-19828) | 01 May 2020, 16:42:32 UTC |
3941d97 | Guido van Rossum | 01 May 2020, 16:42:03 UTC | bpo-40334: Refactor lambda_parameters similar to parameters (GH-19830) | 01 May 2020, 16:42:03 UTC |
d955241 | Pablo Galindo | 01 May 2020, 15:32:09 UTC | bpo-40334: Correct return value of func_type_comment (GH-19833) | 01 May 2020, 15:32:09 UTC |
ea7297c | Pablo Galindo | 01 May 2020, 15:02:06 UTC | bpo-40334: unskip test_function_type in test_unparse with the new parser (GH-19837) | 01 May 2020, 15:02:06 UTC |
76c1b4d | Batuhan Taskaya | 01 May 2020, 13:13:43 UTC | bpo-40334: Improve column offsets for thrown syntax errors by Pegen (GH-19782) | 01 May 2020, 13:13:43 UTC |
719e14d | Furkan Önder | 01 May 2020, 12:49:35 UTC | bpo-40462: fix variable and function names (GH-19832) Automerge-Triggered-By: @vstinner | 01 May 2020, 12:49:35 UTC |
8727664 | Dong-hee Na | 01 May 2020, 12:15:35 UTC | bpo-32494: Use gdbm_count for dbm_length if possible (GH-19814) | 01 May 2020, 12:15:35 UTC |
b796b3f | Pablo Galindo | 01 May 2020, 11:32:26 UTC | bpo-40334: Simplify type handling in the PEG c_generator (GH-19818) | 01 May 2020, 11:32:26 UTC |
252346a | Victor Stinner | 01 May 2020, 09:33:44 UTC | bpo-40453: Add PyConfig._isolated_subinterpreter (GH-19820) An isolated subinterpreter cannot spawn threads, spawn a child process or call os.fork(). * Add private _Py_NewInterpreter(isolated_subinterpreter) function. * Add isolated=True keyword-only parameter to _xxsubinterpreters.create(). * Allow again os.fork() in "non-isolated" subinterpreters. | 01 May 2020, 09:33:44 UTC |
8bcfd31 | Noah Doersing | 01 May 2020, 04:30:10 UTC | Change 'exception happened' to 'exception occurred' in two places (#19767) | 01 May 2020, 04:30:10 UTC |
3e0a6f3 | Lysandros Nikolaou | 01 May 2020, 03:27:52 UTC | bpo-40334: Add support for feature_version in new PEG parser (GH-19827) `ast.parse` and `compile` support a `feature_version` parameter that tells the parser to parse the input string, as if it were written in an older Python version. The `feature_version` is propagated to the tokenizer, which uses it to handle the three different stages of support for `async` and `await`. Additionally, it disallows the following at parser level: - The '@' operator in < 3.5 - Async functions in < 3.5 - Async comprehensions in < 3.6 - Underscores in numeric literals in < 3.6 - Await expression in < 3.5 - Variable annotations in < 3.6 - Async for-loops in < 3.5 - Async with-statements in < 3.5 - F-strings in < 3.6 Closes we-like-parsers/cpython#124. | 01 May 2020, 03:27:52 UTC |
eb0d359 | Victor Stinner | 01 May 2020, 00:38:00 UTC | bpo-40443: Remove unused imports in stdlib (GH-19815) | 01 May 2020, 00:38:00 UTC |
2935e65 | Victor Stinner | 01 May 2020, 00:35:24 UTC | bpo-40275: Fix name error in support.socket_helper (GH-19825) Replace TestFailed with support.TestFailed. Bug spotted by pyflakes. | 01 May 2020, 00:35:24 UTC |
17014e4 | Victor Stinner | 01 May 2020, 00:34:22 UTC | Remove dead code in test__xxsubinterpreters (GH-19826) | 01 May 2020, 00:34:22 UTC |
b66c0ff | Victor Stinner | 30 April 2020, 22:44:03 UTC | bpo-1635741: Fix compiler warning in _stat.c (GH-19822) Cast Py_ARRAY_LENGTH() size_t to int explicitly. | 30 April 2020, 22:44:03 UTC |
3c7f9db | Victor Stinner | 30 April 2020, 20:44:24 UTC | Revert "bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811)" (#19821) This reverts commit 2514a632fb7d37be24c2059d0e286d35600f9795. | 30 April 2020, 20:44:24 UTC |
2514a63 | Chris Jerdonek | 30 April 2020, 19:18:05 UTC | bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811) Before this commit, if an exception was active inside a generator when calling gen.throw(), then that exception was lost (i.e. there was no implicit exception chaining). This commit fixes that. | 30 April 2020, 19:18:05 UTC |
c001c09 | Guido van Rossum | 30 April 2020, 19:12:19 UTC | bpo-40334: Support type comments (GH-19780) This implements full support for # type: <type> comments, # type: ignore <stuff> comments, and the func_type parsing mode for ast.parse() and compile(). Closes https://github.com/we-like-parsers/cpython/issues/95. (For now, you need to use the master branch of mypy, since another issue unique to 3.9 had to be fixed there, and there's no mypy release yet.) The only thing missing is `feature_version=N`, which is being tracked in https://github.com/we-like-parsers/cpython/issues/124. | 30 April 2020, 19:12:19 UTC |
efb8dd5 | Jelle Zijlstra | 30 April 2020, 10:39:11 UTC | compileall: Fix typos in docstring (GH-19810) | 30 April 2020, 10:39:11 UTC |
e488e30 | Victor Stinner | 30 April 2020, 09:28:09 UTC | bpo-40443: Remove unused imports in distutils (GH-19802) | 30 April 2020, 09:28:09 UTC |
9054967 | Victor Stinner | 30 April 2020, 09:26:33 UTC | bpo-40443: Remove unused imports in the stdlib (GH-19803) | 30 April 2020, 09:26:33 UTC |
3209cbd | lrjball | 30 April 2020, 03:42:45 UTC | bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742) * bpo-40394 - difflib.SequenceMatched.find_longest_match default args Added default args to find_longest_match, as well as related tests. | 30 April 2020, 03:42:45 UTC |
6900f16 | Victor Stinner | 30 April 2020, 01:28:51 UTC | bpo-40443: Remove unused imports in idlelib (GH-19801) | 30 April 2020, 01:28:51 UTC |
138a9b9 | Vlad Serebrennikov | 30 April 2020, 01:06:39 UTC | bpo-40389: Improve repr of typing.Optional (#19714) | 30 April 2020, 01:06:39 UTC |
b1e11c3 | Victor Stinner | 30 April 2020, 00:21:30 UTC | bpo-40443: Remove unused imports in tests (GH-19804) | 30 April 2020, 00:21:30 UTC |
57572b1 | Victor Stinner | 29 April 2020, 23:48:37 UTC | bpo-40443: Remove unused imports in tests (GH-19805) | 29 April 2020, 23:48:37 UTC |
69e802e | Lysandros Nikolaou | 29 April 2020, 22:53:30 UTC | bpo-40334: Fix test_peg_parser to actually use the old parser (GH-19778) Now that the default parser is the new PEG parser, ast.parse uses it, which means that we don't actually test something in test_peg_parser. This commit introduces a new keyword argument (`oldparser`) for `_peg_parser.parse_string` for specifying that a string needs to be parsed with the old parser. This keyword argument is used in the tests to actually compare the ASTs the new parser generates with those generated by the old parser. | 29 April 2020, 22:53:30 UTC |
360371f | karl ding | 29 April 2020, 22:31:19 UTC | bpo-40291: Add support for CAN_J1939 sockets (GH-19538) Add support for CAN_J1939 sockets that wrap SAE J1939 protocol functionality provided by Linux 5.4+ kernels. | 29 April 2020, 22:31:19 UTC |
fd33cdb | Alex Povel | 29 April 2020, 22:17:12 UTC | Fix plural typo in documentation (GH-19799) Co-authored-by: Alex Povel <python@alexpovel.de> | 29 April 2020, 22:17:12 UTC |
84724dd | Dong-hee Na | 29 April 2020, 18:20:27 UTC | bpo-1635741: Port _stat module to multiphase initialization (GH-19798) | 29 April 2020, 18:20:27 UTC |
113feb3 | Dong-hee Na | 29 April 2020, 17:34:24 UTC | bpo-40328: Add tool for generating cjk mapping headers (GH-19602) | 29 April 2020, 17:34:24 UTC |
2d87577 | Victor Stinner | 29 April 2020, 16:49:00 UTC | bpo-40286: Remove C implementation of Random.randbytes() (GH-19797) Remove _random.Random.randbytes(): the C implementation of randbytes(). Implement the method in Python to ease subclassing: randbytes() now directly reuses getrandbits(). | 29 April 2020, 16:49:00 UTC |
e3dfb9b | Victor Stinner | 29 April 2020, 16:04:22 UTC | bpo-9216: Expose OpenSSL FIPS_mode() as _hashlib.get_fips_mode() (GH-19703) test.pythoninfo logs OpenSSL FIPS_mode() and Linux /proc/sys/crypto/fips_enabled in a new "fips" section. Co-Authored-By: Petr Viktorin <encukou@gmail.com> | 29 April 2020, 16:04:22 UTC |
e5963ee | Victor Stinner | 29 April 2020, 15:57:25 UTC | What's New in Python 3.9: Reorganize C API Changes (GH-19794) Move Build Changes and C API Changes to the end of the document. Most Python users don't build Python themselves and don't use the C API. Other changes: * Add Build Changes section * Add sub-sections to the C API Changes * Sort modules in Improved Modules section: move nntplib after multiprocessing | 29 April 2020, 15:57:25 UTC |
5769724 | Mark Shannon | 29 April 2020, 15:49:45 UTC | bpo-40228: More robust frame.setlineno. (GH-19437) More robust frame.setlineno. Makes no assumptions about source->bytecode translation. | 29 April 2020, 15:49:45 UTC |
ec9bea4 | Victor Stinner | 29 April 2020, 15:11:48 UTC | bpo-40436: Fix code parsing gdb version (GH-19792) test_gdb and test.pythoninfo now check gdb command exit code. | 29 April 2020, 15:11:48 UTC |