Victor Stinner
0ee0b2938c
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21823)
...
Rename 5 test method names in test_codecs and test_typing.
2020-08-11 15:28:43 +02:00
Victor Stinner
fabd7bb8e0
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)
...
Automerge-Triggered-By: @tiran
2020-08-11 06:26:59 -07:00
Hai Shi
490c5426b1
bpo-40275: Fix failed test cases by using test helpers (GH-21811)
2020-08-10 23:24:02 +02:00
Filipe Laíns
4ce6faa6c9
bpo-16995: add support for base32 extended hex (base32hex) (GH-20441)
...
cc @pganssle
Automerge-Triggered-By: @pganssle
2020-08-10 07:48:20 -07:00
Stefan Krah
39042e00ab
bpo-41324 Add a minimal decimal capsule API ( #21519 )
2020-08-10 16:32:21 +02:00
Zackery Spytz
e28b8c9387
bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958)
...
Co-Authored-By: Jonathan Gossage <jgossage@gmail.com>
2020-08-09 12:50:53 +02:00
Hai Shi
c6f282f3b1
bpo-40275: Use new test.support helper submodules in tests (GH-21785)
2020-08-08 13:05:24 +02:00
Hai Shi
d94af3f7ed
bpo-40275: Remove test helpers aliases in test.support (GH-21771)
2020-08-08 11:32:41 +02:00
Hai Shi
fcce8c649a
bpo-40275: Use new test.support helper submodules in tests (GH-21772)
2020-08-07 23:55:35 +02:00
Victor Stinner
e27a51c11e
bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768)
...
gdb 9.2 on Fedora Rawhide is not reliable, see:
* https://bugs.python.org/issue41473
* https://bugzilla.redhat.com/show_bug.cgi?id=1866884
2020-08-07 17:57:56 +02:00
Victor Stinner
f44693eaed
bpo-41477: Make ctypes optional in test_genericalias (GH-21766)
2020-08-07 17:56:42 +02:00
Hai Shi
598a951844
bpo-40275: Use new test.support helper submodules in tests (GH-21764)
2020-08-07 17:18:38 +02:00
Nathan M
5f0769a752
bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734)
2020-08-06 15:09:40 -07:00
Hai Shi
79bb2c93f2
bpo-40275: Use new test.support helper submodules in tests (GH-21743)
2020-08-06 13:51:29 +02:00
Batuhan Taskaya
8f4380d2f5
bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312)
2020-08-05 14:32:32 +01:00
Hai Shi
c7decc27d5
bpo-40275: Use new test.support helper submodules in tests (GH-21727)
2020-08-04 17:53:12 +02:00
Hai Shi
604bba1f8f
bpo-40275: Use new test.support helper submodules in tests (GH-21452)
2020-08-04 17:51:43 +02:00
Hans Petter Jansson
da4e09fff6
bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)
...
Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
2020-08-03 23:51:33 -04:00
Inada Naoki
db6d9a50ce
bpo-41431: Optimize dict_merge for copy (GH-21674)
2020-08-04 11:08:06 +09:00
Victor Stinner
701b63894f
bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718)
...
regrtest_unraisable_hook() temporarily replaces sys.stderr with
sys.__stderr__ to help to display errors when a test captures stderr.
2020-08-03 22:51:23 +02:00
Hai Shi
4660597b51
bpo-40275: Use new test.support helper submodules in tests (GH-21448)
2020-08-03 18:49:18 +02:00
Hai Shi
bb0424b122
bpo-40275: Use new test.support helper submodules in tests (GH-21451)
2020-08-03 18:47:42 +02:00
Hai Shi
a7f5d93bb6
bpo-40275: Use new test.support helper submodules in tests (GH-21449)
2020-08-03 18:41:24 +02:00
Karthikeyan Singaravelan
cadda52d97
bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694)
2020-07-31 16:20:48 +05:30
Mark Shannon
6e8128f02e
bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517)
...
* Move 'peephole' optimizations into compile.c and perform them directly on the CFG.
2020-07-30 10:03:00 +01:00
Serhiy Storchaka
67987acd5d
bpo-41401: Fix test_fspath_support in test_io. (GH-21640)
...
The error is exposed on non-UTF-8 locales.
2020-07-27 20:58:35 +03:00
pxinwr
855e68855e
bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447)
2020-07-27 15:17:47 +09:00
Serhiy Storchaka
b1a87300a0
bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608)
2020-07-26 10:21:39 +03:00
Gregory Schevchenko
daff39070e
bpo-38731: Add --quiet option to py_compile CLI (GH-17134)
2020-07-25 22:58:45 +03:00
Alex Grönholm
0dd98c2d00
bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() ( #21595 )
2020-07-23 12:45:08 -07:00
wyfo
653f420b53
bpo-41341: Recursive evaluation of ForwardRef in get_type_hints ( #21553 )
...
The issue raised by recursive evaluation is infinite recursion with
recursive types. In that case, only the first recursive ForwardRef is
evaluated.
2020-07-22 12:47:28 -07:00
Serhiy Storchaka
12f433411b
bpo-41334: Convert constructors of str, bytes and bytearray to Argument Clinic (GH-21535)
2020-07-20 15:53:55 +03:00
Inada Naoki
902356a7b0
bpo-41338: Fix DeprecationWarning in tests (GH-21542)
2020-07-20 12:02:50 +09:00
Vinay Sharma
bfd0fbdc13
bpo-38169: Increase code coverage for SharedMemory and ShareableList (GH-16139)
2020-07-19 22:35:52 +09:00
scoder
c53b310e59
bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)
...
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
2020-07-18 14:19:50 -07:00
AMIR
8ca8a2e8fb
bpo-39603: Prevent header injection in http methods (GH-18485)
...
reject control chars in http method in http.client.putrequest to prevent http header injection
2020-07-18 13:16:10 -07:00
Mark Shannon
cb9879b948
bpo-40941: Unify implicit and explicit state in the frame and generator 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.
2020-07-17 11:44:23 +01:00
matthewhughes934
8e836bb21c
bpo-41195: Add getter for Openssl security level (GH-21282)
...
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
2020-07-17 01:59:15 -07:00
Steve Dower
936a660945
bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)
2020-07-15 22:56:49 +01:00
Rishi
5a8d121a1f
bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)
...
Avoid infinite loop when reading specially crafted TAR files using the tarfile module
(CVE-2019-20907).
2020-07-15 13:51:00 +02:00
Tony Solomonik
568fb0ff4a
bpo-41273: asyncio's proactor read transport's better performance by using 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.
2020-07-14 12:41:24 -07:00
Serhiy Storchaka
4f309abf55
bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)
...
Automerge-Triggered-By: @tiran
2020-07-13 05:49:26 -07:00
Serhiy Storchaka
4c8f09d7ce
bpo-36346: Make using the legacy Unicode C API optional (GH-21437)
...
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.
2020-07-10 23:26:06 +03:00
Steve Dower
af56c4fc76
bpo-41172: Fix check for compiler in test suite (GH-21400)
2020-07-09 18:52:43 +01:00
Chris Jerdonek
8b33961e4b
bpo-29590: fix stack trace for gen.throw() with yield from ( #19896 )
...
* 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.
2020-07-09 14:27:23 +01:00
Hai Shi
96a6a6d42b
bpo-40275: Use new test.support helper submodules in tests (GH-21412)
2020-07-09 15:25:10 +02:00
Mark Sapiro
4fa61a7732
bpo-40597: Allow email.contextmanager set_content() to set a null string. (GH-20542)
2020-07-08 14:00:35 -07:00
Joannah Nanjekye
6f13adf59e
Add a test for get_id() (GH-21370)
2020-07-07 21:45:45 -03:00
Victor Stinner
8f42748ded
bpo-29778: test_embed tests the path configuration (GH-21306)
2020-07-08 00:20:37 +02:00
Pablo Galindo
c2c1f1f906
bpo-41218: Improve the test cases for test_compile_top_level_await_no_coro (GH-21363)
2020-07-06 23:30:14 +01:00