Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.python / []=[]

SubjectAuthor
* []=[]Stefan Ram
+- []=[]Alan Bawden
+* []=[]Greg Ewing
|`- []=[]Rob Cliffe
`* []=[]Stefan Ram
 `* []=[]Piergiorgio Sartor
  `- []=[]Chris Angelico

1
[]=[]

<assignment-20230922174933@ram.dialup.fu-berlin.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24271&group=comp.lang.python#24271

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: []=[]
Date: 22 Sep 2023 16:51:09 GMT
Organization: Stefan Ram
Lines: 6
Expires: 1 Sep 2024 11:59:58 GMT
Message-ID: <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 QdDePs5XxQof5Ug+HqMu1QRJ1dx2WcsjWMZnEOzeJNuKU1
Cancel-Lock: sha1:nMa4f9PmlhxtVXSObSDahWRBMa0= sha256:nka7AKUYjyIg0wVqccw/RZqDQvM+7TsLh/ifLTBUGuw=
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
 by: Stefan Ram - Fri, 22 Sep 2023 16:51 UTC

[]=[]

(Executes with no error.)

Re: []=[]

<86ttrlu6ul.fsf@williamsburg.bawden.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24272&group=comp.lang.python#24272

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!bawden.eternal-september.org!.POSTED!not-for-mail
From: alan@csail.mit.edu (Alan Bawden)
Newsgroups: comp.lang.python
Subject: Re: []=[]
Date: Fri, 22 Sep 2023 19:27:14 -0400
Organization: ITS Preservation Society
Lines: 9
Message-ID: <86ttrlu6ul.fsf@williamsburg.bawden.org>
References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: bawden.eternal-september.org; posting-host="d645cd2d7fdae91fe941cea69ed4fc10";
logging-data="486748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Tuf96xSvbGAAtDcYcQLG+"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:MGG1ou5IIuovcuDcyffNV/NEO74=
sha1:wCCDfwJffYqZG4EF+fnm4Md6OJg=
 by: Alan Bawden - Fri, 22 Sep 2023 23:27 UTC

ram@zedat.fu-berlin.de (Stefan Ram) writes:

[]=[]

(Executes with no error.)

So does:

() = ""

Re: []=[]

<kn753vF32b5U1@mid.individual.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24273&group=comp.lang.python#24273

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: greg.ewing@canterbury.ac.nz (Greg Ewing)
Newsgroups: comp.lang.python
Subject: Re: []=[]
Date: Sat, 23 Sep 2023 15:41:47 +1200
Lines: 14
Message-ID: <kn753vF32b5U1@mid.individual.net>
References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net pPRZGKkkTxb2SGbklQmB8g6HpNQUXyuntS6zYoBHzMNrtf15BT
Cancel-Lock: sha1:aq5068rd0hRNhSRI2uMl2sIKHEA= sha256:GZrwcpjcWZuZvsse+tybio8r2dv6zg1h92oIkr58fNA=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <assignment-20230922174933@ram.dialup.fu-berlin.de>
 by: Greg Ewing - Sat, 23 Sep 2023 03:41 UTC

On 23/09/23 4:51 am, Stefan Ram wrote:
> []=[]
>
> (Executes with no error.)

#####
[]=[]
( 1 )
#\_/#

(Executes with no error.)

--
Greg

Re: []=[]

<video-20230923083956@ram.dialup.fu-berlin.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24274&group=comp.lang.python#24274

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!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
 by: Stefan Ram - Sat, 23 Sep 2023 07:41 UTC

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.")

Re: []=[]

<jlq2uj-of8.ln1@lazy.lzy>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24275&group=comp.lang.python#24275

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de (Piergiorgio Sartor)
<piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de>
Newsgroups: comp.lang.python
Subject: Re: []=[]
Date: Sat, 23 Sep 2023 12:18:59 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <jlq2uj-of8.ln1@lazy.lzy>
References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
<video-20230923083956@ram.dialup.fu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="713c8c6f40e2b4bff9c194a1642a40ef";
logging-data="804475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+epbeQ57g9QsXLtwPE1OX7"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:gIw3YhDFbLpuvHYEoLbhKW6EYwE=
Content-Language: it
In-Reply-To: <video-20230923083956@ram.dialup.fu-berlin.de>
 by: Piergiorgio Sartor - Sat, 23 Sep 2023 10:18 UTC

On 23/09/2023 09.41, Stefan Ram wrote:
> 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.")

If you try:

[] = [1]

and check the error, it will be clear how it works.
Maybe not why... :-)

bye,

--

piergiorgio

Re: []=[]

<mailman.344.1695661013.23016.python-list@python.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24282&group=comp.lang.python#24282

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: rosuav@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: []=[]
Date: Tue, 26 Sep 2023 02:56:39 +1000
Lines: 38
Message-ID: <mailman.344.1695661013.23016.python-list@python.org>
References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
<video-20230923083956@ram.dialup.fu-berlin.de> <jlq2uj-of8.ln1@lazy.lzy>
<CAPTjJmrhxDDjCC5YUOvjKudC6yBbsZwBechd4OCNVW0WEB2OTw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de amh49v4oK/wsrLoRCRY86ggZR3SQgrbf0YG9qr15gFOw==
Cancel-Lock: sha1:+ezidOvpWVGGl/zCeqZIQsaRTfo= sha256:pcOC+hedpr9TFRS10Y229N2raSOnEl/x5ToeLrCRfec=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=Garx2f8m;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.014
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '"python': 0.07; '2023':
0.07; 'ram': 0.07; ':-)': 0.09; 'later,': 0.09; 'writes:': 0.09;
'chrisa': 0.16; 'concurrency': 0.16; 'elements.': 0.16; 'empty,':
0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'iterable': 0.16; 'sept': 0.16; 'wrote:': 0.16; 'values': 0.17;
"can't": 0.17; 'tue,': 0.19; 'to:addr:python-list': 0.20; 'maybe':
0.22; 'returns': 0.22; 'anything': 0.25; 'stefan': 0.26; 'error':
0.29; 'empty': 0.32; 'python-list': 0.32; 'zero': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'there': 0.33; 'header:In-Reply-To:1':
0.34; 'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'work,': 0.36; 'error,': 0.38; 'wrote': 0.39; 'gave': 0.61;
'gives': 0.62; 'ever': 0.63; 'everything': 0.63; 'clear': 0.64;
'watching': 0.64; '[1]': 0.67; 'video': 0.68; 'ground': 0.76;
'returned': 0.81; 'say,': 0.84; 'surprised': 0.84; 'return,': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1695661011; x=1696265811; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=15dkacx6y00UVHzh9cuEuCD2TbcAyKLvS1DkssXlKt4=;
b=Garx2f8muZGUrbGUvRiLbfILtP2AaEoeX2MCv5LYGyyI1b6s6A/+FC2L0ye/EhnHZL
FCuoSoxhpklug81pnnev2eXoxTOooUWZoQyJNzWij4DUkg65cTS+kkLlG6HBsDO4QMQZ
AEe/RO2GKWD+nP+Wo8UbCM4cHKuqE+wD9On/zycceGuhmeH3PpUBMXW1SI7+lEdZYqn8
7NWku2aKCoIyo85uUh50GTiJcDxeuejaLCN2Z563KEpEXAyYvtaaGWj1zpWcS4SKVkiP
SXYWHQF17tD5TtapnpQ8TlSO/7gLoTmyW4n/yrWGt0v9TDc+Dj7VTdIsG1rTDj8qgrvB
7nXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1695661011; x=1696265811;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=15dkacx6y00UVHzh9cuEuCD2TbcAyKLvS1DkssXlKt4=;
b=gagEMR/wNdtmpEwOL15DoTbAcwYRnYUUnLmOwwh94U/zD9fYac9rVACp+d+a+3ZMh/
5ZqeT1Ok3+etBNvTHed6rQYCy25Be3J4yMRzVkjucSyKDcA29QhitpwcnFSxvBVUVbyQ
Sr8SyJhDrJCibgIMdSIiRrhKLDugIEKk6R+uIXh7pcMlpo79h6gaplzflpC8ODEIQhlJ
q4i+JIj5gPhyPygXm8BZyORMgsYadJtnc1oSvIShHX+RFGy3TxB01j+zvFrQ+kuTqCz3
7Jrzw4eztlI8e9rW6ZyXPEEUUO2xommj/HrpduKz6FqayIquZ/N6n7yJMsT7ECwNTwAF
NGiQ==
X-Gm-Message-State: AOJu0Yy34rE3Ld7aGlQnlB+pD1zVGkAhS5jAHQINslNK6uqYBguXw2kT
xlTxG4oIRhSFQcHgLeu0is9rnZ+gth4BO2KmXg0+uXyQ
X-Google-Smtp-Source: AGHT+IEFVSKnmMhqQypM++4jODvbUi0O1fNuYbQfovxV/D0oy/45g7kWvy3aKSTmIM2o3gUAJmjucs/1+X4JclHO9yQ=
X-Received: by 2002:a2e:880b:0:b0:2c0:1fe2:15fd with SMTP id
x11-20020a2e880b000000b002c01fe215fdmr6649484ljh.20.1695661011343; Mon, 25
Sep 2023 09:56:51 -0700 (PDT)
In-Reply-To: <jlq2uj-of8.ln1@lazy.lzy>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmrhxDDjCC5YUOvjKudC6yBbsZwBechd4OCNVW0WEB2OTw@mail.gmail.com>
X-Mailman-Original-References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
<video-20230923083956@ram.dialup.fu-berlin.de> <jlq2uj-of8.ln1@lazy.lzy>
 by: Chris Angelico - Mon, 25 Sep 2023 16:56 UTC

On Tue, 26 Sept 2023 at 02:52, Piergiorgio Sartor via Python-list
<python-list@python.org> wrote:
>
> On 23/09/2023 09.41, Stefan Ram wrote:
> > 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.")
>
> If you try:
>
> [] = [1]
>
> and check the error, it will be clear how it works.
> Maybe not why... :-)
>

Note that the reason it gives no error is that select() returned an
empty iterable as the third value. And you can be sure that it will
ALWAYS return an empty iterable, because select() returns three values
that correspond to the three parameters, and are subsets of them -
that is to say, everything in can_recv must have previously been in
recv_wait, and everything in can_send must have been in send_wait.
Since the third (waiting for exceptional conditions) was empty, there
can't ever be anything to return, and so [] will work, and unpack zero
elements.

ChrisA

Re: []=[]

<mailman.345.1695742786.23016.python-list@python.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24284&group=comp.lang.python#24284

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: rob.cliffe@btinternet.com (Rob Cliffe)
Newsgroups: comp.lang.python
Subject: Re: []=[]
Date: Sun, 24 Sep 2023 23:42:18 +0100
Lines: 20
Message-ID: <mailman.345.1695742786.23016.python-list@python.org>
References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
<kn753vF32b5U1@mid.individual.net>
<626fee7f-1ae9-7be3-2675-427604be3239@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de aH6a+xJEdmQok4Ns9B54cwF+utvVPVPETxDnCXSjOE3Q==
Cancel-Lock: sha1:t4w6T52loWpQ/s84AKKl6KsWHy8= sha256:f5E3YCQAhfr0aUljpE/tTIOVghpPTuL/TIHXNzE/Jzo=
Return-Path: <rob.cliffe@btinternet.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=btinternet.com header.i=@btinternet.com header.b=WH++5PgL;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.070
X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'ram': 0.07; 'bug,': 0.16;
'greg': 0.16; 'wrote:': 0.16; 'to:addr:python-list': 0.20;
'stefan': 0.26; 'header:User-Agent:1': 0.30; 'am,': 0.31; 'empty':
0.32; 'python-list': 0.32; 'received:192.168.1': 0.32; 'header:In-
Reply-To:1': 0.34; "it's": 0.37; 'received:192.168': 0.37;
'received:213': 0.40; 'wishes': 0.40; 'best': 0.61; 'rob': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com;
s=btmx201904; t=1695595381;
bh=Y0Tj/ymqzpzJWVqimR+o+04xvKzopv+tOfNChXHd8U8=;
h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To;
b=WH++5PgL5sPOSWyESd5mR/7YFefZTrSXQyVz+8OKSXmrryNbOmhY8Mb7Y0SzOl7WGnlxFM5g3WLxEWj0828FX61hJ034bt/jEEIFLhFh/E4V8+UcpPuTjn6a/mTgvOz+Dvn3UQlXwk+jwHy4XTMJ7fokb00Q09swpgTf6wg36LnDGeVWjb/87T36Jh/M5KHcU/KMsVaRIxZuwq1KOxbAwZq3hWa6QxUmoWfLPufGnaLI03ydLG32oY2/ZE7DPUcJRnqCvMoDEW0NANrJ7UTUI0TrjWuLjCHMa2iYaRxyzCgKjqGx3U2LUQMvsp8tGkurp1e0p3kLtaE6Cj5u4xIfLA==
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=rob.cliffe@btinternet.com;
bimi=skipped
X-SNCR-Rigid: 64D174D304C9BB35
X-Originating-IP: [109.145.102.33]
X-OWM-Source-IP: 109.145.102.33 (GB)
X-OWM-Env-Sender: rob.cliffe@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedviedrudelfedgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftohgsucevlhhifhhfvgcuoehrohgsrdgtlhhifhhfvgessghtihhnthgvrhhnvghtrdgtohhmqeenucggtffrrghtthgvrhhnpedvteduhfetgfevgeeiffelledvuefgieekveevhedutefgveeijeeftdetvedtgeenucfkphepuddtledrudeghedruddtvddrfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddvtdegngdpihhnvghtpedutdelrddugeehrddutddvrdeffedpmhgrihhlfhhrohhmpehrohgsrdgtlhhifhhfvgessghtihhnthgvrhhnvghtrdgtohhmpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepghhrvghgrdgvfihinhhgsegtrghnthgvrhgsuhhrhidrrggtrdhniidprhgtphhtthhopehphihthhhonhdqlhhishhtsehphihthhhonhdrohhrghdprhgvvhfkrfephhhoshhtuddtledqudeghedquddtvddqfeefrdhrrghnghgvuddtledqudeghedrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrheprhhosgdrtghlihhffhgvsegsthhinhht
vghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpehrvgdqphhrugdqrhhgohhuthdqtddthe
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-SNCR-hdrdom: btinternet.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Content-Language: en-GB
In-Reply-To: <kn753vF32b5U1@mid.individual.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <626fee7f-1ae9-7be3-2675-427604be3239@btinternet.com>
X-Mailman-Original-References: <assignment-20230922174933@ram.dialup.fu-berlin.de>
<kn753vF32b5U1@mid.individual.net>
 by: Rob Cliffe - Sun, 24 Sep 2023 22:42 UTC

It's not a bug, it's an empty unpacking.
Just as you can write
    [A,B] = [1,2] # Sets A to 1, B to 2
Best wishes
Rob Cliffe

On 23/09/2023 04:41, Greg Ewing via Python-list wrote:
> On 23/09/23 4:51 am, Stefan Ram wrote:
>> []=[]
>>
>>    (Executes with no error.)
>
> #####
> []=[]
> ( 1 )
> #\_/#
>
> (Executes with no error.)
>


devel / comp.lang.python / []=[]

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor