Await expressions (Posting On Python-List Prohibited)
Mild Shock
janburse at fastmail.fm
Fri Feb 2 18:45:18 EST 2024
I am still waiting for async files in the
style of nodejs that works on windows and
is bundled with the main python distribution.
I am not very fond on doing something
like adding listeners to a file descriptor,
in nodejs async files are based on callbacks
not on listeners. Whats the roadmap here?
Lawrence D'Oliveiro schrieb:
> On 2 Feb 2024 09:12:06 GMT, Stefan Ram wrote:
>
>> |The IO part of the event loop is built upon a single crucial
>> |function called "select".
>
> select(2) has limitations. Better to use poll(2). Depending on *nix
> variant, other more advanced alternatives may also be available
> <https://docs.python.org/3/library/select.html>.
>
More information about the Python-list
mailing list