summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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-0713-82/+93
|
* 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-0618-50/+65
|
* bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312)Batuhan Taskaya2020-08-051-0/+11
|
* 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-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-0318-127/+148
|
* 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-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-41385: Fix test_executable_without_cwd on Windows (GH-21608)Serhiy Storchaka2020-07-261-2/+4
|
* bpo-38731: Add --quiet option to py_compile CLI (GH-17134)Gregory Schevchenko2020-07-251-1/+70
|
* bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() (#21595)Alex Grönholm2020-07-231-0/+19
|
* bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (#21553)wyfo2020-07-221-0/+6
| | | | | | The issue raised by recursive evaluation is infinite recursion with recursive types. In that case, only the first recursive ForwardRef is evaluated.
* bpo-41334: Convert constructors of str, bytes and bytearray to Argument ↵Serhiy Storchaka2020-07-201-6/+8
| | | | Clinic (GH-21535)
* 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-181-0/+22
| | | 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
* bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)Steve Dower2020-07-151-2/+34
|
* bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)Rishi2020-07-152-0/+7
| | | | | Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907).
* bpo-41273: asyncio's proactor read transport's better performance by using ↵Tony Solomonik2020-07-141-27/+43
| | | | | | | | | | | | | | | recv_into instead of recv (#21442) * bpo-41273: Proactor transport read loop to use recv_into By using recv_into instead of recv we do not allocate a new buffer each time _loop_reading calls recv. This betters performance for any stream using proactor (basically any asyncio stream on windows). * bpo-41273: Double proactor read transport buffer size By doubling the read buffer size we get better performance.
* bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)Serhiy Storchaka2020-07-131-0/+18
| | | Automerge-Triggered-By: @tiran
* bpo-36346: Make using the legacy Unicode C API optional (GH-21437)Serhiy Storchaka2020-07-105-2/+21
| | | | Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0 makes the interpreter not using the wchar_t cache and the legacy Unicode C API.
* bpo-41172: Fix check for compiler in test suite (GH-21400)Steve Dower2020-07-091-1/+7
|
* bpo-29590: fix stack trace for gen.throw() with yield from (#19896)Chris Jerdonek2020-07-091-0/+49
| | | | | | | | * Add failing test. * bpo-29590: fix stack trace for gen.throw() with yield from (GH-NNNN) When gen.throw() is called on a generator after a "yield from", the intermediate stack trace entries are lost. This commit fixes that.
* bpo-40275: Use new test.support helper submodules in tests (GH-21412)Hai Shi2020-07-0918-134/+154
|
* bpo-40597: Allow email.contextmanager set_content() to set a null string. ↵Mark Sapiro2020-07-081-0/+13
| | | | (GH-20542)
* Add a test for get_id() (GH-21370)Joannah Nanjekye2020-07-081-0/+7
|
* bpo-29778: test_embed tests the path configuration (GH-21306)Victor Stinner2020-07-071-15/+67
|
* bpo-41218: Improve the test cases for test_compile_top_level_await_no_coro ↵Pablo Galindo2020-07-061-3/+5
| | | | (GH-21363)
* bpo-41218: Only mark async code with CO_COROUTINE. (#21357)Matthias Bussonnier2020-07-061-0/+19
| | | | | 3.8.3 had a regression where compiling with ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are coroutine even if there were not.
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python ↵Steve Dower2020-07-061-7/+24
| | | | | | is embedded (GH-21297) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523
* bpo-40275: Use new test.support helper submodules in tests (GH-21317)Hai Shi2020-07-0614-91/+109
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21315)Hai Shi2020-07-0618-45/+62
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21314)Hai Shi2020-07-0619-194/+225
|
* bpo-29727: Register array.array as a MutableSequence (GH-21338)Pablo Galindo2020-07-051-0/+66
|
* bpo-39168: Remove the __new__ method of typing.Generic (GH-21327)Zackery Spytz2020-07-051-2/+0
| | | Automerge-Triggered-By: @gvanrossum
* bpo-41162: Clear audit hooks later during finalization (GH-21222)Konge2020-07-032-42/+0
|
* bpo-39960: Allow heap types in the "Carlo Verre" hack check that override ↵scoder2020-07-031-0/+8
| | | | | "tp_setattro()" (GH-21092) Automerge-Triggered-By: @gvanrossum