summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* bpo-41288: Refactor of unpickling NEWOBJ and NEWOBJ_EX opcodes. (GH-21472)Serhiy Storchaka2020-07-181-76/+33
| | | | * Share code for NEWOBJ and NEWOBJ_EX. * More detailed error messages.
* Fix a small grammatical mistake in a comment (GH-21526)Brett Cannon2020-07-171-1/+1
| | | Automerge-Triggered-By: @brettcannon
* bpo-43104: Update NEWS to include CVE-2020-15801 reference (GH-21521)Steve Dower2020-07-171-1/+1
|
* bpo-40941: Unify implicit and explicit state in the frame and generator ↵Mark Shannon2020-07-179-95/+155
| | | | | | | objects into a single value. (GH-20803) * Merge gen and frame state variables into one. * Replace stack pointer with depth in PyFrameObject. Makes code easier to read and saves a word of memory.
* bpo-41195: Add getter for Openssl security level (GH-21282)matthewhughes9342020-07-174-0/+44
| | | | | | | | | | | Add an accessor under SSLContext.security_level as a wrapper around SSL_CTX_get_security_level, see: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html ------ This is my first time contributing, so please pull me up on all the things I missed or did incorrectly. Automerge-Triggered-By: @tiran
* bpo-41300: IDLE - save files with non-ascii chars (GH-21512)Terry Jan Reedy2020-07-163-0/+6
| | | | Fix regression released in 3.9.0b4 and 3.8.4.
* Fix trivial typo in the PEG string parser (GH-21508)Eric V. Smith2020-07-161-1/+1
|
* Fix possibly-unitialized warning in string_parser.c. (GH-21503)Benjamin Peterson2020-07-161-15/+16
| | | | | | | | | | | | | | | | | | | | GCC says ``` ../cpython/Parser/string_parser.c: In function ‘fstring_find_expr’: ../cpython/Parser/string_parser.c:404:93: warning: ‘cols’ may be used uninitialized in this function [-Wmaybe-uninitialized] 404 | p2->starting_col_offset = p->tok->first_lineno == p->tok->lineno ? t->col_offset + cols : cols; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../cpython/Parser/string_parser.c:384:16: note: ‘cols’ was declared here 384 | int lines, cols; | ^~~~ ../cpython/Parser/string_parser.c:403:45: warning: ‘lines’ may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | p2->starting_lineno = t->lineno + lines - 1; | ~~~~~~~~~~~~~~~~~~^~~ ../cpython/Parser/string_parser.c:384:9: note: ‘lines’ was declared here 384 | int lines, cols; | ^~~~~ ``` and, indeed, if `PyBytes_AsString` somehow fails, lines & cols will not be initialized.
* Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500)Christopher Yeh2020-07-161-15/+15
| | | | | This should also fix the syntax highlighting for these code blocks Automerge-Triggered-By: @csabella
* bpo-31844: Move whatsnew note to 3.10.rst (GH-21504)Berker Peksag2020-07-162-6/+6
|
* bpo-31844: Remove _markupbase.ParserBase.error() (GH-8562)Berker Peksag2020-07-163-17/+27
|
* bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)Steve Dower2020-07-153-3/+36
|
* bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call ↵Zackery Spytz2020-07-151-3/+2
| | | | (GH-19686)
* Fix -Wstring-prototypes warnings in _zoneinfo.c. (GH-21478)Benjamin Peterson2020-07-151-2/+2
|
* Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)Benjamin Peterson2020-07-151-1/+1
|