From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id L7BSAPEDt2PoFBAAWB0awg (envelope-from ) for ; Thu, 05 Jan 2023 12:08:01 -0500 Received: by simark.ca (Postfix, from userid 112) id E60C31E222; Thu, 5 Jan 2023 12:08:00 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Mvr1IE9q; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8254E1E0D3 for ; Thu, 5 Jan 2023 12:08:00 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 272323858C30 for ; Thu, 5 Jan 2023 17:08:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 272323858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672938480; bh=7CkiMf5W4nE4WjFQmAg9XfgMLtveAn6QQXA4F8trTIk=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Mvr1IE9q62sPBfi2LQo7JuqbY0oni8K/ILYIErOjjEGxS2koLsH6uMu61DPs/Fmxm uL5etZvt0SUCCTTQo9MnSQGisyswgGPDYaFuynUFz+KQVKJ5hoUgxBUmIp6/TLAFHJ OJROv1KSYdDzcGNyPBISABVqw5Af1Zv5S9IGcflE= 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 Received: by mail-io1-xd33.google.com with SMTP id i83so19791140ioa.11 for ; Thu, 05 Jan 2023 09:07:40 -0800 (PST) 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) 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-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >>>>> "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