summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)Mark Shannon2020-07-3012-4577/+4358
| | | * Move 'peephole' optimizations into compile.c and perform them directly on the CFG.
* bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677)Sebastien Williams-Wynn2020-07-291-1/+1
| | | Automerge-Triggered-By: @brettcannon
* closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)Benjamin Peterson2020-07-292-30/+15
| | | | | This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF. I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue.
* Remove incorrect mention of method.__class__ in descriptor docs (GH-21665)Yonatan Goldschmidt2020-07-281-4/+2
|
* Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465)Xiang Zhang2020-07-281-1/+1
|
* bpo-41412 and bpo-40948: Windows installer updates (GH-21656)Steve Dower2020-07-286-69/+25
| | | | | Prevent installation on Windows 8 and earlier. Download UCRT on demand when required (non-updated Windows 8.1 only) Add reference to py launcher to post-install message
* bpo-41328: Replace mention of Hudson CI with Travis CI and AppVeyor (GH-21653)Dmytro Litvinov2020-07-281-1/+1
|
* bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587)Zackery Spytz2020-07-287-1/+17
| | | Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com>
* Validate the AST produced by the parser in debug mode (GH-21643)Pablo Galindo2020-07-271-0/+9
| | | This will improve the debug experience if something fails in the produced AST. Previously, errors in the produced AST can be felt much later like in the garbage collector or the compiler, making debugging them much more difficult.
* bpo-41045: Document debug feature of f-strings ('=') (GH-21509)amaajemyfren2020-07-272-5/+33
| | | | | Co-Authored-By: Rishi <rishi93dev@gmail.com> Automerge-Triggered-By: @gvanrossum
* bpo-40939: Remove even more references to the old parser (GH-21642)Lysandros Nikolaou2020-07-275-17/+0
| | | Automerge-Triggered-By: @lysnikolaou
* bpo-40939: Use the new grammar for the grammar specification documentation ↵Pablo Galindo2020-07-274-210/+91
| | | | | | | (GH-19969) (We censor the heck out of actions and some other stuff using a custom "highlighter".) Co-authored-by: Guido van Rossum <guido@python.org>
* bpo-41401: Fix test_fspath_support in test_io. (GH-21640)Serhiy Storchaka2020-07-271-1/+1
| | | The error is exposed on non-UTF-8 locales.
* bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447)pxinwr2020-07-272-0/+3
|
* bpo-41340: Removed fallback implementation for strdup (GH-21634)wasiher2020-07-275-29/+2
|
* bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)Akuli2020-07-273-1/+7
| | | | | ... when an unknown option is passed. TypeError was being raised because a 2to3 fix was missing. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix atexitmodule doc (GH-21456)linchiwei1232020-07-261-1/+1
|
* Delete remaining references to Grammar/Grammar from docs (#21624)Guido van Rossum2020-07-267-396/+4
| | | (Ironically, the file itself remains, see https://github.com/we-like-parsers/cpython/issues/135.)
* bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608)Serhiy Storchaka2020-07-261-2/+4
|
* bpo-39868: Add documentation for Assignment Expressions (walrus, PEP 572) ↵Shankar Jha2020-07-251-2/+19
| | | | (#18851)
* bpo-41314: fixed annotations __future__ version (GH-21616)YoSTEALTH2020-07-253-13/+15
| | | PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this.
* bpo-38731: Add --quiet option to py_compile CLI (GH-17134)Gregory Schevchenko2020-07-256-53/+137
|
* bpo-37309: NEWS for #41373 (GH-21612)Terry Jan Reedy2020-07-251-0/+4
|
* bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines ↵Serhiy Storchaka2020-07-252-0/+14
| | | | | | | (GH-21597) Fixes regression in 3.8.4 and 3.9.0b4. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() (#21595)Alex Grönholm2020-07-233-7/+27
|
* bpo-41366: Fix clang warning for sign conversion (GH-21592)Henry Schreiner2020-07-231-1/+1
|
* bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594)Zackery Spytz2020-07-232-3/+3
| | | Also one in news log.
* bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257)Abhijeet Kasurde2020-07-232-4/+29
| | | | | | | | | | On some platform such as VMware ESXi, DefaultSelector fails to detect selector due to default value. This fix adds a check and uses the correct selector depending upon select implementation and actual call. Fixes: [bpo-41182]() Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Stick with the phrase "default parameter value" (GH-21590)Andre Delfino2020-07-221-2/+2
|
* bpo-41369 Update to libmpdec-2.5.1: new features (GH-21593)Stefan Krah2020-07-222-0/+377
|
* bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (#21553)wyfo2020-07-223-6/+21
| | | | | | The issue raised by recursive evaluation is infinite recursion with recursive types. In that case, only the first recursive ForwardRef is evaluated.
* bpo-41364: Reduce import overhead of uuid module (GH-21586)Steve Dower2020-07-212-7/+10
|
* bpo-41283: Fix mismatched argument name for imghdr.what (GH-21501)Ammar Askar2020-07-211-4/+4
|
* bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)Steve Dower2020-07-204-3/+4
|
* bpo-41342: Convert int.__round__ to Argument Clinic (GH-21549)Serhiy Storchaka2020-07-203-8/+51
|
* bpo-41334: Convert constructors of str, bytes and bytearray to Argument ↵Serhiy Storchaka2020-07-209-93/+307
| | | | Clinic (GH-21535)
* bpo-41343: Convert methods of complex to Argument Clinic (GH-21550)Dong-hee Na2020-07-202-26/+99
|
* bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)Zackery Spytz2020-07-201-1/+7
| | | | Do not call PyObject_CallMethod() with a live exception (like KeyboardInterrupt).
* Simple Documentation fix: Missing link to return type class. (GH-21291)Volker-Weissmann2020-07-201-2/+4
| | | Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object".
* bpo-37703: improve asyncio.gather documentation regarding cancellation ↵Vinay Sharma2020-07-203-0/+17
| | | | | | | (GH-15312) These changes updates the doc to comprehensively mention the behaviour of gather.cancel() Automerge-Triggered-By: @asvetlov
* Doc: fix import of asdl.py when called from outside Doc/. (GH-21529)Julien Palard2020-07-201-1/+4
|
* bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979)Erlend Egeberg Aasland2020-07-202-3/+4
|
* bpo-41338: Fix DeprecationWarning in tests (GH-21542)Inada Naoki2020-07-203-0/+11
|
* bpo-38169: Increase code coverage for SharedMemory and ShareableList (GH-16139)Vinay Sharma2020-07-192-0/+30
|
* bpo-41205: Document Decimal power 0 to the 0 (GH-21386)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2020-07-191-0/+3
| | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-41333: Convert OrderedDict.pop() to Argument Clinic (GH-21534)Serhiy Storchaka2020-07-195-25/+68
|
* bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)scoder2020-07-183-7/+59
| | | | | Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call. Automerge-Triggered-By: @gvanrossum
* bpo-39603: Prevent header injection in http methods (GH-18485)AMIR2020-07-183-0/+39
| | | reject control chars in http method in http.client.putrequest to prevent http header injection
* bpo-41325: Add version note for args and kwargs property in call object ↵Jordan Speicher2020-07-181-0/+3
| | | | (GH-21525)
* bpo-41262: Convert memoryview to Argument Clinic. (GH-21421)Serhiy Storchaka2020-07-182-74/+267
|