Irit Katriel
022bc7572f
bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935)
2020-08-27 02:51:12 +02:00
Dong-hee Na
94ad6c674f
bpo-33660: Fix PosixPath to resolve a relative path on root
2020-08-27 02:24:38 +02:00
Elvis Pranskevichus
a2118a1462
bpo-37658: Fix asyncio.wait_for() to respect waited task status ( #21894 )
...
Currently, if `asyncio.wait_for()` itself is cancelled it will always
raise `CancelledError` regardless if the underlying task is still
running. This is similar to a race with the timeout, which is handled
already.
2020-08-26 09:42:45 -07:00
Elvis Pranskevichus
c517fc7121
bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 ( #21895 )
...
When I was fixing bpo-32751 back in GH-7216 I missed the case when
*timeout* is zero or negative. This takes care of that.
Props to @aaliddell for noticing the inconsistency.
2020-08-26 09:42:22 -07:00
Cleber Rosa
1afb42cfa8
bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914)
...
Fix grammar in BaseTransport.close docstring.
https://bugs.python.org/issue41572
Signed-off-by: Cleber Rosa <crosa@redhat.com>
2020-08-20 18:10:01 +05:30
James Weaver
29f84294d8
bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852)
...
asyncio.AbstractEventLoop.run_in_executor should be a method that returns an asyncio Future, not an async method.
This matches the concrete implementations, and the documentation better.
2020-08-17 07:19:46 -07:00
Allen
99c0ee3c89
Fix typo in message from assert statement (GH-21283)
...
The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition.
2020-08-17 19:08:55 +05:30
Victor Stinner
fbf43f051e
bpo-41521: Rename blacklist parameter to not_exported (GH-21824)
...
Rename "blacklist" parameter of test.support.check__all__() to
"not_exported".
2020-08-17 07:20:40 +02:00
Irit Katriel
2353d77fad
bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765)
2020-08-16 16:10:13 +01:00
Raymond Hettinger
fff3c28052
bpo-41513: Improve speed and accuracy of math.hypot() (GH-21803)
2020-08-15 19:38:19 -07:00
Stefan Krah
39dab24621
bpo-41540: AIX: skip test that is flaky with a default ulimit. ( #21890 )
...
- AIX has extreme over-allocation that is in no relation to the physical
RAM and swap.
2020-08-15 20:19:07 +02:00
Paul Ganssle
87d8287865
bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965)
...
Prior to this change, attempting to subclass the C implementation of
zoneinfo.ZoneInfo gave the following error:
TypeError: unbound method ZoneInfo.__init_subclass__() needs an argument
https://bugs.python.org/issue41025
2020-08-13 22:38:30 -04:00
Rishav Kundu
e55de68be3
bpo-41410: Fix outdated info in mkstemp docs (GH-21701)
...
Automerge-Triggered-By: @ericvsmith
2020-08-13 18:33:14 -07:00
Victor Stinner
20ae565bd2
bpo-41521: Replace denylist with blocklist is http.cookiejar doc (GH-21826)
...
The http.cookiejar module has is_blocked() and blocked_domains()
methods, so "blocklist" term sounds better than "denylist" in this
module.
Replace also denylisted with denied in test___all__.
2020-08-13 19:20:28 +02:00
Terry Jan Reedy
c818b15fa5
bpo-41520: Fix second codeop regression (GH-21848)
...
* bpo-41520: Fix second codeop repression
Fix the repression introduced by the initial regression fix.
2020-08-13 13:18:49 -04:00
Pablo Galindo
c51db0ea40
bpo-41531: Fix compilation of dict literals with more than 0xFFFF elements (GH-21850)
2020-08-13 09:48:41 +01:00
Victor Stinner
369a1cbdee
bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838)
2020-08-12 14:53:28 +02:00
Victor Stinner
0e95bbf085
bpo-41521, typing: Rename _PROTO_WHITELIST to _PROTO_ALLOWLIST ( #21825 )
2020-08-12 10:53:12 +02:00
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
Terry Jan Reedy
416f0b71ba
bpo-41514: Fix buggy IDLE test (GH-21808)
...
test_run method test_fatal_error failed when run twice, as with
python -m test -m test_fatal_error test_idle test_idle
because func.called was not reinitialized to 0.
This bug caused a failure on a refleak buildbot.
2020-08-10 06:43:56 -07:00
Terry Jan Reedy
f2e161c279
bpo-41468: Improve and test IDLE run error exit (GH-21798)
...
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.
2020-08-09 16:08:30 -04:00
Terry Jan Reedy
8b67bf907c
Improve renamed test_run.RecursionLimitTest (GH-21794)
...
PEP 8 style and new comments.
2020-08-09 13:08:19 -04: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
Konge
a4084b9d1e
bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757)
2020-08-08 12:03:09 +09: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
Eric L. Frederich
52f98424a5
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
2020-08-05 14:44:53 -04: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
602a971a2a
bpo-41467: Fix asyncio recv_into() on Windows (GH-21720)
...
On Windows, fix asyncio recv_into() return value when the socket/pipe
is closed (BrokenPipeError): return 0 rather than an empty byte
string (b'').
2020-08-04 02:40:10 +02: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
Raymond Hettinger
6a613f90bf
random module: Convert a "while 1" to "while True (GH-21700)
2020-08-02 12:03:32 -07:00
Raymond Hettinger
5c3270939c
bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695)
2020-08-01 01:18:26 -07:00
Karthikeyan Singaravelan
cadda52d97
bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694)
2020-07-31 16:20:48 +05:30