| Deutsch English Français Italiano |
|
<video-20230923083956@ram.dialup.fu-berlin.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: []=[]
Date: 23 Sep 2023 07:41:53 GMT
Organization: Stefan Ram
Lines: 16
Expires: 1 Sep 2024 11:59:58 GMT
Message-ID: <video-20230923083956@ram.dialup.fu-berlin.de>
References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de boMDjmlHmGFp65WhI3iPNwWaTKP6HCSr2tYQW7ZRK6IJdf
Cancel-Lock: sha1:jggtvc21WPUOP2oQw3ucNYSH+ac= sha256:39f6KhJMyytxe0LsJDovDQG6+UXQzt3r4+lv0C2B5RQ=
X-Copyright: (C) Copyright 2023 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE-1901, en-US, it, fr-FR
Bytes: 1866
ram@zedat.fu-berlin.de (Stefan Ram) writes:
>[]=[]
I was watching a video of a David Beazley talk "Python
Concurrency From the Ground Up" , where he wrote
can_recv, can_send, [] = select(recv_wait, send_wait, [])
. Later, he clarified that he actually wanted to write
can_recv, can_send, _ = select(recv_wait, send_wait, [])
and that he was surprised how the "[]" gave no error.
("I wonder why that works.")