kodsurfer
6ac4dc8fc9
gh-150345: Fix incorrect reference in BaseSelectorEventLoop docstring ( #150538 )
2026-05-29 15:24:58 +05:30
Grant Herman
c72d5ea638
gh-150107: Fix asyncio sendfile fallback ignoring non-zero offset ( #150270 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-05-29 15:10:57 +05:30
deadlovelll
a34edf7446
gh-150486: Remove dead _buffer_factory attribute from _SelectorDatagramTransport ( #150487 )
2026-05-27 00:37:27 +05:30
Victor Stinner
be715d75c0
gh-149879: Fix test_asyncio on Cygwin ( #150416 )
...
Skip tests on UNIX sockets since they hang on Cygwin.
2026-05-25 22:54:01 +02:00
deadlovelll
1b20d1933f
gh-150116 Remove dead try/except in asyncio.Lock._wake_up_first ( #150117 )
2026-05-23 14:16:52 +05:30
sobolevn
e472f6d318
gh-149600: Remove deprecated asyncio.iscoroutinefunction function ( #149601 )
2026-05-12 22:59:46 +05:30
Max Schmitt
7241f2739c
gh-149388: Make asyncio PipeHandle.close idempotent ( #149518 )
2026-05-09 19:44:29 +05:30
Hugo van Kemenade
ef6f0635ce
gh-142389: Add backticks to stdlib argparse help to display in colour ( #149384 )
...
Co-authored-by: Savannah Ostrowski <savannah@python.org>
2026-05-04 22:23:18 +00:00
Bartosz Sławecki
5ea3ae7c97
gh-140287: Handle PYTHONSTARTUP script exceptions in the asyncio REPL ( #140288 )
2026-04-25 15:24:40 +01:00
John Belmonte
95559d2a7e
gh-108951: add TaskGroup.cancel() ( #127214 )
...
Fixes #108951
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Guido van Rossum <guido@python.org>
2026-04-24 11:22:05 -07:00
Bartosz Sławecki
4adffd9efa
gh-144881: Add retry logic to asyncio debugging tools ( #148530 )
...
Transient errors can occur when attaching to a process that is actively
using thread delegation (e.g. asyncio.to_thread). Add a retry loop to
_get_awaited_by_tasks for RuntimeError, OSError, UnicodeDecodeError, and
MemoryError, and expose --retries CLI flag on both `ps` and `pstree`
subcommands (default: 3).
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
2026-04-13 22:10:54 +00:00
Jonathan Dung
578d726d46
gh-146544: Fix asyncio.Queue docstring ambiguity ( #146545 )
2026-03-28 16:35:45 +05:30
moktamd
1417737810
gh-146507: cache the buffer size for SelectorTransport.get_write_buffer_size() ( #146518 )
2026-03-27 21:43:15 +05:30
Kumar Aditya
60fbc20ef9
gh-140947: fix contextvars handling for server tasks in asyncio ( #141158 )
2026-03-21 17:44:08 +05:30
Guido van Rossum
788c329117
gh-123720: When closing an asyncio server, stop the handlers ( #124689 )
2026-03-14 11:28:49 -07:00
Konstantin Vlasov
77c06f3da6
gh-145703: Fix asyncio.BaseEventLoop low clock resolution ( #145706 )
2026-03-14 11:07:30 +05:30
Steve Dower
ae0d2875bc
gh-145035: Allows removing the _pyrepl module to completely disable the modern REPL (GH-145159)
2026-03-10 14:58:32 +01:00
Daan De Meyer
1564e231aa
gh-145541: Fix InvalidStateError in BaseSubprocessTransport._call_connection_lost() ( #145554 )
2026-03-09 19:37:23 +05:30
Maksym Kasimov
0598f4a899
gh-142352: Fix asyncio start_tls() to transfer buffered data from StreamReader ( #142354 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2026-02-28 23:19:04 +05:30
Serhiy Storchaka
d6a71f4690
gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows ( #137389 )
...
Since os.stat() raises an OSError for existing named pipe "\\.\pipe\...",
os.path.exists() always returns False for it, and tempfile.mktemp() can
return a name that matches an existing named pipe.
So, tempfile.mktemp() cannot be used to generate unique names for named
pipes. Instead, CreateNamedPipe() should be called in a loop with
different names until it completes successfully.
2026-02-24 13:27:49 +02:00
Bartosz Sławecki
63cc1257db
gh-143952: Fix asyncio tools to work with the new remote debugging API ( #143954 )
2026-01-17 19:16:12 -05:00
Bartosz Sławecki
e7c542de5f
gh-140648: Make asyncio REPL respect the -I flag (isolated mode) ( #143045 )
2026-01-03 13:33:04 +05:30
Kumar Aditya
abdbe0b807
gh-142615: disallow multiple initializations of asyncio.Task and asyncio.Future ( #142616 )
2026-01-03 13:27:02 +05:30
Bartosz Sławecki
6213a512bf
gh-143046: Make asyncio REPL respect the -q flag (quiet mode) ( #143047 )
2025-12-22 07:05:15 +00:00
Bartosz Sławecki
ddfc155d3a
gh-142784: make the asyncio REPL call loop.close() at exit ( #142785 )
2025-12-18 13:00:12 +00:00
Victor Stinner
0b8c348f27
Fix pyflakes warnings: variable is assigned to but never used ( #142294 )
...
Example of fixed warning:
Lib/netrc.py:98:13: local variable 'toplevel'
is assigned to but never used
2025-12-08 14:00:31 +01:00
Kaisheng Xu
14715e3a64
gh-105836: Fix asyncio.run_coroutine_threadsafe leaving underlying cancelled asyncio task running ( #141696 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-12-06 19:33:25 +00:00
Cody Maloney
b484c32d0a
gh-141863: use bytearray.take_bytes in asyncio streams for better performance ( #141864 )
2025-11-24 21:06:53 +05:30
yihong
ecb901dd87
Drop three unused imports ( #141875 )
2025-11-23 16:33:05 +00:00
Kumar Aditya
ef474cfafb
gh-103847: fix cancellation safety of asyncio.create_subprocess_exec ( #140805 )
2025-11-12 10:47:38 +05:30
Frost Ming
d86ad870cc
gh-140251: colorize import statement formatting in asyncio console ( #140252 )
2025-10-18 20:05:24 +05:30
yihong
a310b3a99d
gh-139845: do not print twice in default asyncio REPL ( #139846 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-10-09 15:24:52 +00:00
Kumar Aditya
0b2168275e
gh-138703: clarify data buffer requirement of asyncio.StreamWriter.write ( #139564 )
2025-10-04 21:44:05 +05:30
yihong
22f7ccfad6
gh-138899: fix sys.ps1 in asyncio repl ( #138900 )
2025-10-01 11:19:49 +05:30
yihong
4c0d7bc52a
gh-138958: remove unused variable in Lib/asyncio/streams.py ( #138959 )
2025-09-16 08:48:41 +05:30
ivonastojanovic
419441a6e1
Improve permission error messages in pdb and asyncio.tools ( #134290 )
2025-09-12 12:54:04 +01:00
Bruce Merry
7d435cfde6
gh-136234: Fix SelectorSocketTransport.writelines to be robust to connection loss ( #136743 )
2025-09-08 21:39:52 +05:30
Kumar Aditya
c779f2324d
gh-134861: revert "Add CSV and BSV output formats to asyncio ps" ( #138187 )
...
This reverts commit ee72c95aa9 and 470cbe97a5
2025-08-28 21:19:15 +05:30
maurycy
db8742e2b4
Remove redundant assignment in asyncio.streams.StreamReaderProtocol.connection_lost() (GH-137524)
...
The _stream_writer attribute was removed in a355f60 (gh-114914).
2025-08-07 18:38:14 +03:00
Daniele Parmeggiani
ee72c95aa9
gh-134861: Add 🍌 SV output format to `python -m asyncio ps` ( #137486 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-08-06 20:42:34 +00:00
Daniele Parmeggiani
470cbe97a5
gh-134861: Add CSV output format to `python -m asyncio ps` ( #134862 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-08-06 20:10:40 +00:00
alexey semenyuk
c5cebe1b5a
gh-137128: Remove outdated todo about coro_fns in asyncio ( #137385 )
2025-08-04 16:44:29 +00:00
Serhiy Storchaka
1612dcbafe
gh-137341: Remove more word duplications (GH-137342)
2025-08-03 19:41:12 +03:00
Justin Bronder
e3ea861351
gh-135444: fix asyncio.DatagramTransport.sendto to account for datagram header size when data cannot be sent ( #135445 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-07-30 23:41:28 +05:30
Raymond Hettinger
ea06ae5b5e
Fix Queue.shutdown docs for condition to unblock a join (gh-137088)
2025-07-25 07:56:28 -06:00
Raymond Hettinger
245671555b
Fix docs for Queue.shutdown (gh-137028)
2025-07-24 11:23:03 -06:00
Justin Su
77fa7a4dcc
gh-136447: Use self.loop instead of global loop variable in asyncio REPL ( #136448 )
2025-07-09 14:27:20 +05:30
Jelle Zijlstra
797abd1f7f
gh-134657: Remove newly added private names from asyncio.__all__ ( #134665 )
2025-07-09 13:25:46 +05:30
Serhiy Storchaka
9084b15156
gh-135836: Fix IndexError in asyncio.create_connection() ( #135875 )
2025-07-03 09:38:39 +05:30
heliang666s
0e19db653d
gh-135836: Fix IndexError in asyncio.create_connection with empty exceptions list ( #135845 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-07-01 11:50:11 +00:00