Gentoo Archives: gentoo-portage-dev

From: Tom Wijsman <TomWij@g.o>
To: SebastianLuther@×××.de
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Make use of optparse to fix argument parsing for Python 2.6 in bin/chpathtool.py.
Date: Sun, 29 Dec 2013 15:51:35
Message-Id: 20131229165102.273f281e@TOMWIJ-GENTOO
In Reply to: Re: [gentoo-portage-dev] [PATCH] Make use of optparse to fix argument parsing for Python 2.6 in bin/chpathtool.py. by Sebastian Luther
1 On Sun, 29 Dec 2013 16:34:35 +0100
2 Sebastian Luther <SebastianLuther@×××.de> wrote:
3
4 > While I do not really like the approach, I didn't see a better way.
5 > Tweaking portage.util._argparse.ArgumentParser would just mean to
6 > reinvent argparse.
7
8 Yes, another downside of tweaking the ArgumentParser class is that you
9 need to change its interface and thus need to rewrite its consumers;
10 given that this is a temporary compatibility fix, it's not worth it to
11 spend more effort on this than what's needed to make it work until
12 that we drop support for Python 2.6. I heard "in 1 - 2 years" mentioned.
13
14 --
15 With kind regards,
16
17 Tom Wijsman (TomWij)
18 Gentoo Developer
19
20 E-mail address : TomWij@g.o
21 GPG Public Key : 6D34E57D
22 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

Attachments

File name MIME type
signature.asc application/pgp-signature