summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41468: Improve and test IDLE run error exit (GH-21798)Terry Jan Reedy2020-08-093-10/+48
| | | A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not.
* Improve renamed test_run.RecursionLimitTest (GH-21794)Terry Jan Reedy2020-08-091-3/+5
| | | PEP 8 style and new comments.
* bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958)Zackery Spytz2020-08-092-2/+200
| | | Co-Authored-By: Jonathan Gossage <jgossage@gmail.com>
* bpo-40275: Use new test.support helper submodules in tests (GH-21785)Hai Shi2020-08-084-16/+17
|
* bpo-40275: Remove test helpers aliases in test.support (GH-21771)Hai Shi2020-08-084-23/+10
|
* bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757)Konge2020-08-081-1/+1
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21772)Hai Shi2020-08-078-18/+27
|
* bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768)Victor Stinner2020-08-071-0/+5
| | | | | | gdb 9.2 on Fedora Rawhide is not reliable, see: * https://bugs.python.org/issue41473 * https://bugzilla.redhat.com/show_bug.cgi?id=1866884
* bpo-41477: Make ctypes optional in test_genericalias (GH-21766)Victor Stinner2020-08-071-38/+42
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21764)Hai Shi2020-08-0715-84/+97
|
* bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734)Nathan M2020-08-061-1/+2
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21743)Hai Shi2020-08-0620-56/+73
|
* bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)Eric L. Frederich2020-08-051-1/+1
|
* bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312)Batuhan Taskaya2020-08-052-3/+21
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21727)Hai Shi2020-08-0419-46/+58
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21452)Hai Shi2020-08-046-54/+62
|
* bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)Hans Petter Jansson2020-08-041-1/+15
| | | Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
* bpo-41431: Optimize dict_merge for copy (GH-21674)Inada Naoki2020-08-041-5/+6
|
* bpo-41467: Fix asyncio recv_into() on Windows (GH-21720)Victor Stinner2020-08-041-1/+1
| | | | | On Windows, fix asyncio recv_into() return value when the socket/pipe is closed (BrokenPipeError): return 0 rather than an empty byte string (b'').
* bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718)Victor Stinner2020-08-032-5/+15
| | | | regrtest_unraisable_hook() temporarily replaces sys.stderr with sys.__stderr__ to help to display errors when a test captures stderr.
* bpo-40275: Use new test.support helper submodules in tests (GH-21448)Hai Shi2020-08-0320-154/+185
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21451)Hai Shi2020-08-0320-278/+324
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21449)Hai Shi2020-08-0320-132/+154
|
* random module: Convert a "while 1" to "while True (GH-21700)Raymond Hettinger2020-08-021-1/+1
|
* bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695)Raymond Hettinger2020-08-011-1/+1
|
* bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694)Karthikeyan Singaravelan2020-07-311-1/+4
|
* bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)Mark Shannon2020-07-303-9/+5
| | | * Move 'peephole' optimizations into compile.c and perform them directly on the CFG.
* bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587)Zackery Spytz2020-07-286-1/+15
| | | Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com>
* 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-271-0/+2
|
* bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)Akuli2020-07-272-1/+5
| | | | | ... 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>
* Delete remaining references to Grammar/Grammar from docs (#21624)Guido van Rossum2020-07-261-1/+1
| | | (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-41314: fixed annotations __future__ version (GH-21616)YoSTEALTH2020-07-251-12/+13
| | | 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-252-41/+104
|
* 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-251-0/+11
| | | | | | | (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-232-7/+25
|
* bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594)Zackery Spytz2020-07-231-2/+2
| | | Also one in news log.
* bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257)Abhijeet Kasurde2020-07-231-4/+28
| | | | | | | | | | 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>
* bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (#21553)wyfo2020-07-222-6/+20
| | | | | | 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-211-7/+9
|
* bpo-41334: Convert constructors of str, bytes and bytearray to Argument ↵Serhiy Storchaka2020-07-201-6/+8
| | | | Clinic (GH-21535)
* bpo-37703: improve asyncio.gather documentation regarding cancellation ↵Vinay Sharma2020-07-201-0/+7
| | | | | | | (GH-15312) These changes updates the doc to comprehensively mention the behaviour of gather.cancel() Automerge-Triggered-By: @asvetlov
* 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-191-0/+29
|
* bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)scoder2020-07-181-0/+36
| | | | | 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-182-0/+37
| | | reject control chars in http method in http.client.putrequest to prevent http header injection
* bpo-40941: Unify implicit and explicit state in the frame and generator ↵Mark Shannon2020-07-173-3/+6
| | | | | | | 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-171-0/+19
| | | | | | | | | | | 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