From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4A6BB138247 for ; Sun, 29 Dec 2013 15:51:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8258E0BAB; Sun, 29 Dec 2013 15:51:32 +0000 (UTC) Received: from jacques.telenet-ops.be (jacques.telenet-ops.be [195.130.132.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 03D82E0BA8 for ; Sun, 29 Dec 2013 15:51:31 +0000 (UTC) Received: from TOMWIJ-GENTOO ([94.226.55.127]) by jacques.telenet-ops.be with bizsmtp id 7TrW1n01W2khLEN0JTrWem; Sun, 29 Dec 2013 16:51:31 +0100 Date: Sun, 29 Dec 2013 16:51:02 +0100 From: Tom Wijsman To: SebastianLuther@gmx.de Cc: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] Make use of optparse to fix argument parsing for Python 2.6 in bin/chpathtool.py. Message-ID: <20131229165102.273f281e@TOMWIJ-GENTOO> In-Reply-To: <52C0410B.3050006@gmx.de> References: <1388282061-10347-1-git-send-email-tomwij@gentoo.org> <1388283708-11119-1-git-send-email-tomwij@gentoo.org> <52C0410B.3050006@gmx.de> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.22; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Kc5Um+62rvbQyzfjNVIEkXV"; protocol="application/pgp-signature" X-Archives-Salt: 098750b4-f9c7-4919-94cd-3c5406564fb8 X-Archives-Hash: fc10073ba34c13299ebbbe6b6382e88a --Sig_/Kc5Um+62rvbQyzfjNVIEkXV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 29 Dec 2013 16:34:35 +0100 Sebastian Luther wrote: > While I do not really like the approach, I didn't see a better way. > Tweaking portage.util._argparse.ArgumentParser would just mean to > reinvent argparse. Yes, another downside of tweaking the ArgumentParser class is that you need to change its interface and thus need to rewrite its consumers; given that this is a temporary compatibility fix, it's not worth it to spend more effort on this than what's needed to make it work until that we drop support for Python 2.6. I heard "in 1 - 2 years" mentioned. --=20 With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : TomWij@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D --Sig_/Kc5Um+62rvbQyzfjNVIEkXV Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJSwETqAAoJEJWyH81tNOV9DI0H/ibjEM4OYdLupJqFzd8vHW8M QWiLYgEVOibgxgkjAY6pi1ww4PDMCdVMyhmJEH6c287enZeWhIcy6JOvUeApVtJV TakUSpX33hPIUhsHdaZ51nM75oUG9RZdhJj+RofpVVwtzXBIrpN9iyyNCWRJHE/4 iaurfdOPEp30E1dgwQkrQGDGE4ByHLmG64Fh5n9JMPm4NY6zNeobF11QHHLuMdIK GoB1uLb8QS26T/HroAi5CmpnqbV9ePTbSn3ygz8VzIm4y9b3MsVh6YDd4ts7A3NF 6FV9RRDN4JupWfY3xVS1gNkhPgVO+DIYAtEOPg/5durCs9ylJXNrgnxs1rSP9yM= =hcvf -----END PGP SIGNATURE----- --Sig_/Kc5Um+62rvbQyzfjNVIEkXV--