[Scons-users] Bug with argument parsing

Brady Johnson bradyallenjohnson at gmail.com
Sun Feb 9 07:35:01 EST 2014


Yep, optparse is deprecated in python 2.7. It just depends if we still want
to support python 2.6.

Brady
On Feb 9, 2014 1:18 PM, "Russel Winder" <russel at winder.org.uk> wrote:


> On Sat, 2014-02-08 at 22:47 +0100, Dirk Baechle wrote:

> [...]

> > both described issues from #2929 are based on the same problem. The

> > parsing mechanism of optparse allows for partial matching of long

> > options, as long as the common prefix is unique. This conflicts with the

> > way we internally call "parse_args" for updating values after an

> > AddOption().

>

> Isn't optparse now deprecated in favour of argparse?

>

> --

> Russel.

>

> =============================================================================

> Dr Russel Winder t: +44 20 7585 2200 voip:

> sip:russel.winder at ekiga.net

> 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk

> London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140209/2fab2443/attachment-0001.html


More information about the Scons-users mailing list