Andrew Svetlov added the comment:
New changeset d9db07a3100105768ba83ffd67991e78452bb22e by andrei kulakov in
branch 'main':
bpo-37529: Add test for guessing extensions (GH-28243)
https://github.com/python/cpython/commit/d9db07a3100105768ba83ffd67991e78452bb22e
--
nosy:
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11 -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python
3.8, Python 3.9
___
Python tracker
<https://bug
Change by Andrew Svetlov :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +29940
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31840
___
Python tracker
<https://bugs.python.org/issu
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Using selectors with blocked files looks weird at least. Should we care?
--
___
Python tracker
<https://bugs.python.org/issue40
Andrew Svetlov added the comment:
tasks are not awaited, this is the problem.
The reproducer is not correct.
Closing.
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Fixed by #41696
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
The usage of get_event_loop() outside of a loop is deprecated since Python 3.10
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
asyncio ssl support was rewritten from scratch.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
asyncio ssl support was rewritten from scratch.
If you still observe the problem, please open a new issue.
--
nosy: +asvetlov
resolution: -> out of date
stage: patch review -> resolved
status: open -&g
Change by Andrew Svetlov :
--
resolution: -> wont fix
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
If the cancellation message should be kept it needs improvements anyway, the
single message doesn't work well with multiple `.cancel()` calls.
I can imagine a 'CancelledError(*msgs)' and 'raise exc.drop_msg(msg)' as a
fu
Andrew Svetlov added the comment:
1. Guido van Rossum explicitly designed asyncio to *don't* use slots.
2. Changing it produces potential backward incompatibility issues.
Very many stdlib classes don't have slots, as already mentioned.
The default is really the reverse: no slots
Andrew Svetlov added the comment:
New changeset 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72 by Illia Volochii in
branch 'main':
bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525)
https://github.com/python/cpython/commit/3543ddb4c4ebc26fb2d6c67a97e66f
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.10, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
New changeset 7e473e94a52024ac821dd2f206290423e4987ead by Andrew Svetlov in
branch 'main':
bpo-46995: Deprecate missing asyncio.Task.set_name() for third-party task
implementations (GH-31838)
https://github.com/python/cpyt
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
New changeset 9f04ee569cebb8b4c6f04bea95d91a19c5403806 by Alex Grönholm in
branch 'main':
bpo-46805: Add low level UDP socket functions to asyncio (GH-31455)
https://github.com/python/cpython/commit/9f04ee569cebb8b4c6f04bea95d91a
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Andrew Svetlov :
1. CancelIoEx is mandatory for supported Windows versions, there is no need for
dynamic checks.
2. Argument Clinic supports Py_buffer, use it.
--
components: asyncio
messages: 415064
nosy: asvetlov, yselivanov
priority: normal
severity: normal
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +29946
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31848
___
Python tracker
<https://bugs.python.org/issu
Change by Andrew Svetlov :
--
resolution: not a bug ->
status: closed ->
___
Python tracker
<https://bugs.python.org/issue43253>
___
___
Python-bugs-list
Change by Andrew Svetlov :
--
nosy: -asvetlov
___
Python tracker
<https://bugs.python.org/issue37355>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
New changeset 690490e4de9f2baf07171b3d63fc440239928fb4 by Andrew Svetlov in
branch 'main':
bpo-47003: Cleanup _overlapped module (GH-31848)
https://github.com/python/cpython/commit/690490e4de9f2baf07171b3d63fc44
Change by Andrew Svetlov :
--
stage: resolved -> patch review
___
Python tracker
<https://bugs.python.org/issue44886>
___
___
Python-bugs-list mailing list
Un
Change by Andrew Svetlov :
--
stage: resolved ->
___
Python tracker
<https://bugs.python.org/issue46522>
___
___
Python-bugs-list mailing list
Unsubscrib
Andrew Svetlov added the comment:
New changeset 9523c0d84f351a610dc651b234461eb015fa3b82 by Andrew Svetlov in
branch 'main':
bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API
(GH-31837)
https://github.com/python/cpyt
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Known problem, PR is welcome!
I expect the fix is not trivial.
--
___
Python tracker
<https://bugs.python.org/issue47
Andrew Svetlov added the comment:
I think we should close the PR now.
I'm open to the discussion resurrection in Python 3.12 or 3.13, when aiotools
implementation will be battle-tested.
--
___
Python tracker
<https://bugs.python.org/is
Andrew Svetlov added the comment:
New changeset 649cc9d688f79765cf052429683b708678c26fbd by Illia Volochii in
branch '3.9':
[3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection
(GH-24525) (GH-31868)
https://github.com/python/cpyt
Andrew Svetlov added the comment:
New changeset c6828408342cb1a2f8ba5038adccfbc1a95250cc by Illia Volochii in
branch '3.10':
[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection
(GH-24525) (GH-31869)
https://github.com/python/cpyt
Andrew Svetlov added the comment:
Ctrl-C handling is added by #23057
It uses signal.set_wakeup_fd()
https://github.com/asvetlov/cpython/blob/main/Lib/asyncio/proactor_events.py#L631-L634
So, the last event loop steals Ctrl+C handling.
Not sure if we can improve it.
Running two concurrent
Andrew Svetlov added the comment:
Maximilian, thanks for the investigation.
A check for 'fileno != -1' seems correct to me.
Would you prepare a pull request?
--
___
Python tracker
<https://bugs.python.o
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
New changeset 6dfe09fc5fd5a3ddc6009d5656e635eae30c5240 by Kumar Aditya in
branch 'main':
bpo-46993: Speed up bytearray creation from list and tuple (GH-31834)
https://github.com/python/cpython/commit/6dfe09fc5fd5a3ddc6009d5656e635eae30c5240
-
Andrew Svetlov added the comment:
New changeset 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3 by Kumar Aditya in
branch 'main':
bpo-20392: Fix inconsistency with uppercase file extensions in
mimetypes.guess_type (GH-30229)
https://github.com/python/cpyt
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46993>
___
___
Change by Andrew Svetlov :
--
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue43253>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
New changeset 70155412f1543f100d4aa309b8691cbcabd3e0e1 by Maximilian Hils in
branch 'main':
bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)
https://github.com/python/cpython/commit/70155412f1543f100d4aa309b
Andrew Svetlov added the comment:
Thanks!
--
resolution: -> fixed
status: -> closed
___
Python tracker
<https://bugs.python.org/issue43253>
___
___
Pyth
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
pull_requests: +30003
pull_request: https://github.com/python/cpython/pull/31910
___
Python tracker
<https://bugs.python.org/issue45
Andrew Svetlov added the comment:
Thanks, Yuri.
I'll take a look.
--
___
Python tracker
<https://bugs.python.org/issue45997>
___
___
Python-bugs-list m
Andrew Svetlov added the comment:
The main branch is clear
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
#46994 fixed this problem
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Python 3.7 forbids Task.set_exception() and Task.set_result(), the error
message is pretty clear.
Nothing to do here
--
nosy: +asvetlov
resolution: -> wont fix
stage: -> resolved
status: open -&g
New submission from Andrew Svetlov :
It can help with future maintenance a lot. Current tests are cumbersome.
--
components: asyncio
messages: 415342
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Rewrite asyncio queue tests with
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +30027
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31935
___
Python tracker
<https://bugs.python.org/issu
Change by Andrew Svetlov :
--
versions: -Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue47035>
___
___
Python-bugs-list mailin
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Andrew Svetlov :
It simplifies future maintenance.
--
components: Tests, asyncio
messages: 415359
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
versions: Python 3.10
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +30033
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31942
___
Python tracker
<https://bugs.python.org/issu
Andrew Svetlov added the comment:
New changeset dd0082c627713634c7fd88ad33d18b5cc9f4a7b8 by Andrew Svetlov in
branch 'main':
bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
(GH-31942)
https://github.com/python/cpython/commit/dd0082c627713634c7fd88ad33d18b
Change by Andrew Svetlov :
--
pull_requests: +30035
pull_request: https://github.com/python/cpython/pull/31944
___
Python tracker
<https://bugs.python.org/issue47
Andrew Svetlov added the comment:
New changeset 4186dd662cf22613b21af948163978af4243a8d6 by Miss Islington (bot)
in branch '3.10':
bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
(GH-31942) (GH-31943)
https://github.com/python/cpyt
Andrew Svetlov added the comment:
New changeset 3244659521798417810100904f39ae5dabe60a7f by Andrew Svetlov in
branch '3.9':
[3.9] bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase
(GH-31942). (GH-31944)
https://github.com/python/cpyt
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
test_cancel_blocking_wait_for() / test_cancel_wait_for() is not converted still.
--
resolution: fixed ->
stage: resolved ->
status: closed -> open
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
pull_requests: +30037
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31946
___
Python tracker
<https://bugs.python.org/issu
Andrew Svetlov added the comment:
New changeset 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a by Andrew Svetlov in
branch 'main':
bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase
(GH-31946)
https://github.com/python/cpyt
New submission from Andrew Svetlov :
Return `...` in the case of recursive representation.
Now the only result is replaced with `...`, all other future properties are
still printed.
It doesn't follow `repr()` for other stdlib objects.
--
components: asyncio
messages: 415375
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +30041
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31950
___
Python tracker
<https://bugs.python.org/issu
Andrew Svetlov added the comment:
New changeset 36f62c55759c4246f969f60f7470ba756f77b268 by Miss Islington (bot)
in branch '3.10':
bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase
(GH-31946) (#31948)
https://github.com/python/cpyt
Change by Andrew Svetlov :
--
pull_requests: +30042
pull_request: https://github.com/python/cpython/pull/31951
___
Python tracker
<https://bugs.python.org/issue47
Andrew Svetlov added the comment:
New changeset a7c54148322781cb0f332d440a3454d550ef6414 by Andrew Svetlov in
branch 'main':
bpo-47038: Increase a test timeout for slow CI machines (GH-31951)
https://github.com/python/cpython/commit/a7c54148322781cb0f332d440a3454
Andrew Svetlov added the comment:
New changeset 30b5d41fabad04f9f34d603f1ce2249452c18c71 by Andrew Svetlov in
branch 'main':
bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950)
https://github.com/python/cpython/commit/30b5d41fabad04f9f34d603f1ce224
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
sslproto was rewritten from scratch in Python 3.11
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
A duplicate of #47010
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Implement zero copy writes in SelectorSocketTransport in asyncio
___
Python tra
Andrew Svetlov added the comment:
I suggest closing.
The documentation explicitly describes how asyncio works with threads.
--
resolution: -> wont fix
stage: patch review -> resolved
status: open -> closed
___
Python tracke
Andrew Svetlov added the comment:
asyncio.run() does the task
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Threads are not interruptable in Python.
The same for concurrent.future executor.
asyncio and `wait_for` is not special.
I'm not sure should we document it and *if* yes -- where should we do it?
Adding a note to every function could be cumbe
Andrew Svetlov added the comment:
Duplicate for #39622
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> KeyboardInterrupt is ignored when await asyncio.sleep(0)
___
Python tracker
<https://
Andrew Svetlov added the comment:
Implemented by #32591
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> Deprecate sys.set_coroutine_wrapper and replace it with more
focused API(s)
__
Change by Andrew Svetlov :
--
title: Deprecate passing coroutine objects to asyncio.wait() ->
Deprecate-remove passing coroutine objects to asyncio.wait()
___
Python tracker
<https://bugs.python.org/issu
Andrew Svetlov added the comment:
Duplicate for #39622
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> KeyboardInterrupt is ignored when await asyncio.sleep(0)
___
Python tracker
<https://
Andrew Svetlov added the comment:
asyncio.run() present since Python 3.7
After the main coroutine finish, it cancels all background tasks and waits for
their termination.
Background tasks can use old good `try/finally` for resources cleanup.
An additional API is not required IMHO
Change by Andrew Svetlov :
--
pull_requests: +30053
pull_request: https://github.com/python/cpython/pull/31964
___
Python tracker
<https://bugs.python.org/issue34
Andrew Svetlov added the comment:
New changeset 33698e8ff40fcc67df3d95658e87196f8021de6f by David CARLIER in
branch 'main':
bpo-46030: socket module add couple of FreeBSD constants. (GH-30018)
https://github.com/python/cpython/commit/33698e8ff40fcc67df3d95658e87196f8021de6f
-
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46030>
___
___
Andrew Svetlov added the comment:
New changeset 903f0a02c16240dc769a08c30e8d072a4fb09154 by Andrew Svetlov in
branch 'main':
bpo-34790: Remove passing coroutine objects to asyncio.wait() (GH-31964)
https://github.com/python/cpython/commit/903f0a02c16240dc769a08c30e8d07
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
Fixed by #47039
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Normalize asyncio future and task repr()
___
Python tracker
<https://bugs.python
Change by Andrew Svetlov :
--
assignee: -> asvetlov
___
Python tracker
<https://bugs.python.org/issue39622>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +30063
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31973
___
Python tracker
<https://bugs.python.org/issu
New submission from Andrew Svetlov :
All other asyncio functions are converted to fast calls already.
--
components: asyncio
messages: 415489
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Use FASTCALL convention for FutureIter.throw()
versions: Python
Andrew Svetlov added the comment:
I have a side question.
generator.throw() and coroutine.throw() have throw(type[, value[, traceback]])
signature.
Is there a plan to update generators somehow to accept the exception value only?
The change can go in line with other exception API changes
New submission from Andrew Svetlov :
Sometimes asyncio.run() is not enough.
For example, unittest test case needs to call several async functions (setup,
test, teardown) from the synchronous code using the same execution context and
event loop.
The proposal provides the following:
with
Change by Andrew Svetlov :
--
keywords: +patch
pull_requests: +30075
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31799
___
Python tracker
<https://bugs.python.org/issu
Andrew Svetlov added the comment:
I am still not convinced that audit events should be used.
Maybe support of explicit callbacks pair (on_start() + on_finish()) with `None`
for fast-and-cheap "do nothing flag" is a better alternative for catching stale
Andrew Svetlov added the comment:
New changeset 0a8b8e0d262eae83ffbc6b414a1f5747cdbd1d88 by Andrew Svetlov in
branch 'main':
bpo-47057: Use FASTCALL convention for FutureIter.throw() (GH-31973)
https://github.com/python/cpython/commit/0a8b8e0d262eae83ffbc6b414a1f57
Andrew Svetlov added the comment:
New changeset cb7874f49d3d55df73a3c529773af14e2e344fb7 by andrei kulakov in
branch 'main':
bpo-44544: add textwrap placeholder arg (GH-27671)
https://github.com/python/cpython/commit/cb7874f49d3d55df73a3c529773af14e2e344fb7
--
nosy:
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Andrew Svetlov added the comment:
New changeset 3ae975f1ac880c47d51cca6c9e305547bd365be7 by Oleg Iarygin in
branch 'main':
bpo-47015: Update test_os from asyncore to asyncio (GH-31876)
https://github.com/python/cpython/commit/3ae975f1ac880c47d51cca6c9e3055
Change by Andrew Svetlov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
401 - 500 of 3160 matches
Mail list logo