[New-bugs-announce] [issue42113] Replace _asyncio.TaskWakeupMethWrapper with PyCFunction

Vladimir Matveev report at bugs.python.org
Wed Oct 21 17:54:45 EDT 2020


New submission from Vladimir Matveev <desco.by at gmail.com>:

`TaskWakeupMethWrapper` looks like a more limited version of `PyCFunction` so it can be replaced with one.
Pros: remove a bunch of code, use better calling convention
Cons: now `wakeup` object will expose slightly more properties but I'm not sure whether this is bad

----------
components: asyncio
messages: 379258
nosy: asvetlov, v2m, yselivanov
priority: normal
severity: normal
status: open
title: Replace _asyncio.TaskWakeupMethWrapper with PyCFunction
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42113>
_______________________________________


More information about the New-bugs-announce mailing list