summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039)Andre Delfino2020-12-182-2/+2
|
* bpo-34398: Allow glossary results to show up on search page (GH-8773)Ammar Askar2020-12-184-2/+108
|
* bpo-42675: Document collections.abc.Callable changes (GH-23839)kj2020-12-182-0/+28
|
* bpo-41891: ensure asyncio.wait_for waits for task completion (#22461)Richard Kojedzinszky2020-12-183-1/+66
|
* bpo-40956: Fix sqlite3 AC code (GH-23837)Dong-hee Na2020-12-182-9/+32
|
* bpo-40956: Convert _sqlite3.Connection to Argument Clinic (GH-23341)Erlend Egeberg Aasland2020-12-183-135/+702
|
* bpo-17140: Document multiprocessing's ThreadPool (GH-23812)Matt Wozniski2020-12-182-0/+41
| | | | | Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`.
* bpo-42238: Check Misc/NEWS.d/next/ for reStructuredText issues. (GH-23802)Julien Palard2020-12-187-13/+89
|
* bpo-39096: Format specification documentation fixes for numeric types (GH-23575)Mark Dickinson2020-12-181-12/+23
|
* bpo-1635741: Port _thread to multiphase init (GH-23811)Victor Stinner2020-12-182-90/+223
| | | | | | | Port the _thread extension module to the multiphase initialization API (PEP 489) and convert its static types to heap types. Add a traverse function to the lock type, so the garbage collector can break reference cycles.
* bpo-42199: Fix bytecode_helper assertNotInBytecode (#23031)Max Bernstein2020-12-183-1/+22
| | | | | | | | | | * bpo-42199: Fix bytecode_helper assertNotInBytecode Add tests. * 📜🤖 Added by blurb_it. Co-authored-by: Dino Viehland <dinoviehland@fb.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-42670: Fix a missing word in the itertools.product() docs (GH-23823)Zackery Spytz2020-12-171-1/+1
|
* bpo-31904: posixpath.expanduser() handles None user home on VxWorks (GH-23530)pxinwr2020-12-172-0/+5
|
* [doc] Fix a few margins due to bad markup (GH-23619)Andre Delfino2020-12-1711-89/+88
|
* bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set correctly ↵Mark Shannon2020-12-1713-225/+317
| | | | | | | | | after raising or reraising an exception (GH-23803) * Ensure that f_lasti is set correctly after an exception is raised to conform to PEP 626. * Update importlib * Add NEWS.
* bpo-26564: fix obsolete comment in traceback.c (GH-23819)Irit Katriel2020-12-171-1/+2
|
* bpo-31904: Skip some asyncio tests on VxWorks (#23815)pxinwr2020-12-173-1/+11
|
* [doc] Fix erroneous backslashes in signatures and names (GH-23658)Andre Delfino2020-12-1732-88/+88
| | | | | The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
* Correct referenced RFC number in cgi module (GH-22827)Mike Lei2020-12-171-1/+1
| | | The quoted sentence can be found from the last paragraph of RFC 2046, Section 5.1, while the content of RFC 2026 is unrelated to this module.
* Fix indentation for get_stats_profile() docs (GH-23618)Matthew Suozzo2020-12-161-1/+1
| | | | The existing method is indented one too many times which makes it look like a sub-method of print_callees().
* bpo-37961: Fix regression in tracemalloc.Traceback.__repr__ (GH-23805)Daniel Hahler2020-12-163-1/+22
| | | Regression in 8d59eb1b66c51b2b918da9881c57d07d08df43b7.
* bpo-38323: Add guard clauses in MultiLoopChildWatcher. (#22756)Chris Jerdonek2020-12-161-14/+18
| | | This is a trivial refactor in preparation for a fix for bpo-38323.
* bpo-23915: update and elucidate documentation of with_traceback (GH-23680)Irit Katriel2020-12-161-2/+7
|
* Clarify eval() doc from library/functions. (GH-22700)Antoine2020-12-161-8/+9
|
* bpo-40686: Fix compiler warnings on _zoneinfo.c (GH-23614)Victor Stinner2020-12-161-10/+4
| | | | | | | | "uint8_t day" is unsigned and so "day < 0" test is always true. Remove the test to fix the following warnings on Windows: modules\_zoneinfo.c(1224): warning C4068: unknown pragma modules\_zoneinfo.c(1225): warning C4068: unknown pragma modules\_zoneinfo.c(1227): warning C4068: unknown pragma
* Fix reStructuredText typo in NEWS.d. (GH-23800)Julien Palard2020-12-161-1/+1
|
* Add symbols of the stable ABI to python3dll.c (GH-23598)Victor Stinner2020-12-161-0/+7
| | | | | | | | | | | Add the following symbols to python3dll.c: * PyFrame_GetCode (bpo-40421) * PyFrame_GetLineNumber (bpo-40421) * PyModule_AddObjectRef (bpo-1635741) * PyObject_CallNoArgs (bpo-37194) * PyThreadState_GetFrame (bpo-39947) * PyThreadState_GetID (bpo-39947) * PyThreadState_GetInterpreter (bpo-39947)
* bpo-42645: Make sure that return/break/continue are only traced once when ↵Mark Shannon2020-12-164-1676/+1790
| | | | | | | | | exiting via a finally block. (GH-23780) * Make sure that return/break/continue are only traced once when exiting via a finally block. * Add test for return in try-finally. * Update importlib
* bpo-42615: Delete redundant jump instructions that only bypass empty blocks ↵Om G2020-12-165-101/+174
| | | | | | | | | | | | | | | | | | | | | | | (GH-23733) * Delete jump instructions that bypass empty blocks * Add news entry * Explicitly check for unconditional jump opcodes Using the is_jump function results in the inclusion of instructions like returns for which this optimization is not really valid. So, instead explicitly check that the instruction is an unconditional jump. * Handle conditional jumps, delete jumps gracefully * Ensure b_nofallthrough and b_reachable are valid * Add test for redundant jumps * Regenerate importlib.h and edit Misc/ACKS * Fix bad whitespace
* bpo-1635741: Refactor _threadmodule.c (GH-23793)Victor Stinner2020-12-161-311/+226
| | | | | | | | | | | | | * Fix ExceptHookArgsType name: "_thread.ExceptHookArgs", instead of "_thread._ExceptHookArgs". * PyInit__thread() no longer intializes interp->num_threads to 0: it is already done in PyInterpreterState_New(). * Use PyModule_AddType(), Py_NewRef() and Py_XNewRef(). * Replace str_dict variable with _Py_IDENTIFIER(__dict__). * Remove assert(Py_IS_TYPE(obj, &Locktype)) from release_sentinel() to avoid having to retrive the type from this callback. * Add thread_bootstate_free() * Rename t_bootstrap() to thread_run() * bootstate structure: rename keyw member to kwargs
* bpo-42613: Fix freeze.py config directory (GH-23792)Victor Stinner2020-12-162-10/+12
| | | Fix freeze.py tool to use the prope config and library directories.
* bpo-40364: asyncio uses os.waitstatus_to_exitcode() (GH-23798)Victor Stinner2020-12-162-215/+80
| | | | | test_unix_events.py no longer checks if waitstatus_to_exitcode() mock has been called or not to make the test more functional, rather than checking the exact implementation.
* bpo-19733: Re-enable tests for -image option in Tkinter (GH-23785)Serhiy Storchaka2020-12-162-6/+0
|
* bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795)Victor Stinner2020-12-161-13/+11
| | | Use shorter timeout and replace send() with sendall().
* bpo-42644: Validate values in logging.disable() (#23786)Matthias Bussonnier2020-12-163-0/+20
| | | | | | | | | | | | | | | | | | | * bpo-42644: Validate values in logging.disable() Technically make the value of manager a property that checks and convert values assigned to it properly. This has the side effect of making `logging.disable` also accept strings representing the various level of warnings. We want to validate the type of the disable attribute at assignment time, as it is later compared to other levels when emitting warnings and would generate a `TypeError: '>=' not supported between ....` in a different part of the code base, which can make it difficult to track down. When assigned an incorrect value; it will raise a TypeError when the wrong type, or ValueError if an invalid str. Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-42179: Clarify exception chaining (GH-23160)Vladimir2020-12-161-4/+4
| | | | | | | | | | | | | | | | | * Update errors.rst Clarify exception chaining behaviour and give a reference to the library documentation. * Update errors.rst Wording * Update errors.rst Spelling * Update errors.rst Remove mentioning of special attributes as folks think it's too much for beginners.
* Update Stale action message (GH-23791)Mariatta2020-12-161-1/+1
| | | We don't close PRs after it becomes stale.
* bpo-42090: zipfile.Path.joinpath now accepts multiple arguments (GH-22976)Jason R. Coombs2020-12-164-3/+24
| | | Automerge-Triggered-By: GH:jaraco
* bpo-31904: Skip os.path.expanduser() tests on VxWorks (GH-23776)pxinwr2020-12-152-0/+5
|
* bpo-31904: Skip some tests of changing owner in _test_all_chown_common() on ↵pxinwr2020-12-152-2/+12
| | | | VxWorks (GH-23716)
* bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687)pxinwr2020-12-157-46/+58
|
* Adding "stale" GitHub Action (GH-21247)Mariatta2020-12-151-0/+19
| | | | | | | | | | | Adding "stale" GitHub Action Added the "stale" GitHub action to the CPython repo. PR's older than 30 days will be labeled as stale using the "stale-pr" label. Closes https://github.com/python/core-workflow/issues/372 Co-authored-by: Brett Cannon <brett@python.org>
* bpo-40219: Lowered ttk LabeledScale dummy (GH-21467)E-Paine2020-12-152-1/+5
|
* Let dependabot create PRs against the maintenance branches (GH-22992)Mariatta2020-12-151-0/+4
| | | With this, we don't have to manually trigger backport whenever there is update to GitHub Actions dependencies.
* Update stable ABI script for MacOS and update list of exported symbols ↵Pablo Galindo2020-12-152-1/+6
| | | | (GH-23783)
* bpo-42641: Enhance test_select.test_select() (GH-23782)Victor Stinner2020-12-152-9/+23
| | | | | | | | | Enhance test_select.test_select(): it now takes 500 ms rather than 10 seconds. * Use Python rather than a shell as the child process to make the test more portable. * Use a sleep of 50 ms per line rather than 1 second. * Use subprocess.Popen rather than os.popen().
* bpo-36675: Doc: Reveal doctest directives (GH-23620)Julien Palard2020-12-152-19/+39
|
* bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779)Victor Stinner2020-12-155-184/+140
| | | | | | | | | | atexit._run_exitfuncs() now logs callback exceptions using sys.unraisablehook, rather than logging them directly into sys.stderr and raising the last exception. Run GeneralTest of test_atexit in a subprocess since it calls atexit._clear() which clears all atexit callbacks. _PyAtExit_Fini() sets state->callbacks to NULL.
* bpo-32381: pymain_run_file() uses PySys_FormatStderr() (GH-23778)Victor Stinner2020-12-151-17/+34
| | | | | If config->run_filename doesn't exist, log the error into sys.stderr using "%R" format, to escape properly unencodable characters (usually with backslashreplace).
* bpo-42639: Add script_helper.run_test_script() (GH-23777)Victor Stinner2020-12-153-16/+34
| | | | | | * Add run_test_script() function to test.support.script_helper. * Rename Lib/test/eintrdata/eintr_tester.py to Lib/test/_test_eintr.py. * test_eintr.py uses run_test_script().