Received: from mail.netlandish.com (unknown [10.138.202.29]) by code.netlandish.com (Postfix) with ESMTP id 9D8D680B7B; Mon, 2 Nov 2020 10:22:12 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.67; helo=mail-ej1-f67.google.com; envelope-from=keijser@gmail.com; receiver= Authentication-Results: mail.netlandish.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=BYs+yJhI Received: from mail-ej1-f67.google.com (mail-ej1-f67.google.com [209.85.218.67]) by mail.netlandish.com (Postfix) with ESMTP id 97D1583D44; Mon, 2 Nov 2020 02:22:10 -0800 (PST) Received: by mail-ej1-f67.google.com with SMTP id dk16so17556698ejb.12; Mon, 02 Nov 2020 02:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Fupf/6ra4Utet11Xq3B10SPk55daZr6YveGTkTk7Wpc=; b=BYs+yJhIfOjCS8xyEARHmZuw8lfdGS1hsYP8xpwjfLXIhX5Nz+C2KHGMBpoymYwwmF NJmVSSk6KVJ4X6pqEdbOBD4Sh7nUjtk2tJv8qwvPRm7JWWLUZOP4cJat3xZYmnFkQhh3 lqhhy3pK3xkgd1K7HibhOlZkg8ze/g/l51YZsrdzxE1Ei0ZLsFOMrZNyU13hQwP74+DQ E1didLGXUNQl+3kLibMvi7aoBcV4hERZt6DaqTGeOlvKvfMjf1TM96sPOK/DpeHBD8ab UIrs1C93SocK0m8+zuqfJ6hxnKblOCBnhVJcNuxEVVVlPv88DGcNesh68hU7uICdz1X4 DSlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Fupf/6ra4Utet11Xq3B10SPk55daZr6YveGTkTk7Wpc=; b=JaIg9ptAT4CShG5LBBf1mfMGiPuRqSeK6zBtmUuLDxUNFkZsBxMuJ9gMFqHmAvgR/a XiBiuWJYBXWJpa/V6zedGiL1SOSG5MFhRz5iYBQ6OVV85dMuO0bEgcYv+Kh80+wW16xv 47blgD4RmMYhZvAR5zB+D5AchPl1YZauwSPWLgFC4gkm4MnVM2WR5AIKvV1Hc7tY73SI k2w8msD+C2HJBfNh4PSBzLPPiPm8BKF6fvF65M6FvGVIh5SGZXQrzwFzYzq23R5RXBCu B3yLYdeRcegU1Q219F9lSzf9HRg1wCEhE/ZuRK9i6jhdkpefUnrTk2PoXtADf9dbQNyd 9Nxw== X-Gm-Message-State: AOAM530UfFm0ccIZGNB06t9vBtWBVjWwu0yvPr1lldlguMWeLemgTEoQ OaV1+5puWR4kaKEn2iTK8h3wrI+QlK6FbLmb X-Google-Smtp-Source: ABdhPJyqxxbNGXhhf3lL/k0Su/5DTTxThlbghIJnPxg3iJpXlJfwYCWIwXDCSZhCMYJogxiPSBarfw== X-Received: by 2002:a17:906:c0d8:: with SMTP id bn24mr14300900ejb.480.1604312529122; Mon, 02 Nov 2020 02:22:09 -0800 (PST) Received: from localhost ([91.141.210.63]) by smtp.gmail.com with ESMTPSA id c8sm684466edr.29.2020.11.02.02.22.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 02:22:08 -0800 (PST) Date: Mon, 2 Nov 2020 11:22:07 +0100 From: David Keijser To: Peter Sanchez Cc: ~netlandish/email-test-drive@lists.code.netlandish.com, ~petersanchez/public-inbox@lists.code.netlandish.com Subject: Re: [PATCH 1 of 2 py-scfg] Return None when trying to get missing sub-directive Message-ID: <20201102102207.ll2jsexcincf6apz@splurge> References: <33f5a3354dc7b1fce863.1604249472@splurge.local> <20201101234401.bok7i4wvl4heda6r@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201101234401.bok7i4wvl4heda6r@thinkpad> On Sun, Nov 01, 2020 at 03:44:01PM -0800, Peter Sanchez wrote: > On 11/01, David Keijser wrote: > > # HG changeset patch > > # User David Keijser > > # Date 1604248014 -3600 > > # Sun Nov 01 17:26:54 2020 +0100 > > # Node ID 33f5a3354dc7b1fce8639602d4212da01c7da19a > > # Parent 64f694b06df5c2f5140d456de6304804d4d8c8be > > Return None when trying to get missing sub-directive > > Thanks! It's been applied and submitted a new version to pypi. Ok, cool. Did the other patch make it to you too? Having type annotations would be great when writing code using scfg because it enables type checking with mypy and nice editor integration with langserver and the like. > Just a heads up, the proper mailing list for this repo is: > > ~petersanchez/public-inbox@lists.code.netlandish.com > > No big deal just don't want to accidentally miss your submissions as I > usually ignore this list (it's for testing). Oof, that's what I get for pasting the first code block I see into config files.