From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by sourceware.org (Postfix) with ESMTPS id 4B27B3858D28 for ; Thu, 5 Jan 2023 17:07:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4B27B3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd33.google.com with SMTP id i83so19791140ioa.11 for ; Thu, 05 Jan 2023 09:07:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7CkiMf5W4nE4WjFQmAg9XfgMLtveAn6QQXA4F8trTIk=; b=ekE1g+im8jtIHqe9IMEjn2iUDoTW1F1jOuGk88X8r0EFpod6Iz1kMzutNkKzTbi0if tYiJEHx5boqIrxBoexTlxrIR+7L19EA2rDx49sVK/Ic9uTuXcWwoDsRl4GRddHnHS3MT QHRlH9Jdh7B4R55ZAfaS6Nu3y4RPt54E0zcrrlfurZ/RIBoNF5MSld/mMU8tdOrocD0a m9Gv9+pfoDTRiFaWXKToG1PEvISQ0MnrSe6lIRt8vwYOA77eFnWDGnZfZgIG1ML8he+z NVYiHQgwFIM2d0QIbNnSubxDpNOza7bLOTt3zzxrpI7mwEh2fC0Nl0QLBDAHxby5QRm1 AADA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7CkiMf5W4nE4WjFQmAg9XfgMLtveAn6QQXA4F8trTIk=; b=OalDJP2I90V4BWNPt3h5eHNXy5UBL++xB7587hbqE7B4tmXBmtvv0J0nDNhmmnnJn6 jM4It3DvIhURwsYz6Z7AK8ei4CdYvOVWDq4C7SMwyQ1rHPf+bToDDmkhXKvYitTa9Dda ULCokSxZJvziby6fqdLBEFEXZfwOdxoiompHmSkbi7sV0d984NOSDPIsEbFKvL7z37Fj r6FbewEmteLULRBGmmxI9mgq4rV1yzjosbUOEfmXF0ZIdXt5Zenw9Qn8o5PwNxVbsRhP 3/QNf900STOaddVQel+Wp3Ea1pvAVFJKuN4AZ+ytGAcv3FIGEF6DAQrVXsjQFXwLT+Bp N4vA== X-Gm-Message-State: AFqh2kq98zbjlOQaBRM8VQMbnqunlVniwARZww63Zuv21czvxWZcDSwk xKenl4FPqfbkJYC7hAWOCgtJ9A== X-Google-Smtp-Source: AMrXdXvMjAe7C9Dp4YeUbcDjaT0JWiTsb9E0AXlfzJRo9IMRkHefBO6Z1UkWnc6EskR+L89nEZRraQ== X-Received: by 2002:a05:6602:42d9:b0:6ce:516d:d19a with SMTP id ce25-20020a05660242d900b006ce516dd19amr31127514iob.20.1672938459563; Thu, 05 Jan 2023 09:07:39 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id a18-20020a056602149200b006bbddd49984sm13228227iow.9.2023.01.05.09.07.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jan 2023 09:07:39 -0800 (PST) From: Tom Tromey To: Tom de Vries Cc: Tom Tromey , Tom Tromey via Gdb-patches Subject: Re: [PATCH] [gdb/python] Avoid queue.SimpleQueue for python 3.6 References: <20220901163059.3678708-1-tromey@adacore.com> <87bkrk8j21.fsf@tromey.com> <877d1duivp.fsf@tromey.com> <87k024khch.fsf@tromey.com> <5cd9edba-b1b2-060e-d8d2-98ff6d28a5e7@suse.de> <87tu17iu2j.fsf@tromey.com> <7f2d41d6-ba52-a7da-4144-a252aabd10ea@suse.de> <0b6635ea-ee55-1edd-6f4b-149a3ab200f5@suse.de> <87k021f1q0.fsf@tromey.com> X-Attribution: Tom Date: Thu, 05 Jan 2023 10:07:38 -0700 In-Reply-To: (Tom de Vries's message of "Thu, 5 Jan 2023 17:34:05 +0100") Message-ID: <874jt4gbad.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom de Vries writes: Tom> I agree that the semantics as advertised for task_done are a bit vague. Tom> I read about it a bit here ( Tom> https://stackoverflow.com/questions/49637086/python-what-is-queue-task-done-used-for Tom> ) to understand what it's supposed to do and looked at the Tom> implementation here ( Tom> https://github.com/python/cpython/blob/master/Lib/asyncio/queues.py ), Tom> and by now I'm convinced that there's no memory leak. Tom> So I'll commit shortly. Thanks for doing this. Tom