[issue14910] argparse: disable abbreviation

2015-02-13 Thread Berker Peksag
Berker Peksag added the comment: Committed. Thank you all for patches and reviews :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue14910] argparse: disable abbreviation

2015-02-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99302634d756 by Berker Peksag in branch 'default': Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser. https://hg.python.org/cpython/rev/99302634d756 -- nosy: +python-dev ___ Python track

[issue14910] argparse: disable abbreviation

2015-02-04 Thread Berker Peksag
Berker Peksag added the comment: The patch LGTM. In Doc/library/argparse.rst: - add_help=True) + allow_abbrev=True, add_help=True) should be add_help=True, allow_abbrev=True) I'll add a release note and commit it. Thanks! -- assi

[issue14910] argparse: disable abbreviation

2015-02-03 Thread Rémi Rampin
Rémi Rampin added the comment: It looks like the previous comments were addressed in the latest patch. Is this still planned for 3.5? Alpha 1 is next week according to PEP478. -- ___ Python tracker ___

[issue14910] argparse: disable abbreviation

2015-01-26 Thread Rémi Rampin
Changes by Rémi Rampin : -- nosy: +remram ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue14910] argparse: disable abbreviation

2015-01-21 Thread Andy Zobro
Andy Zobro added the comment: Ignore previous comment, I wish I could delete it. I simply provided the allow_abbrev to the wrong function and spent zero time investigating the error. -- ___ Python tracker ___

[issue14910] argparse: disable abbreviation

2015-01-21 Thread Andy Zobro
Andy Zobro added the comment: This breaks custom actions. e.g.: class dict_action(argparse.Action): def __init__(self, *a, **k): argparse.Action.__init__(self, *a, **k) TypeError: __init__() got an unexpected keyword argument 'allow_abbrev' -- nosy: +xobes ___

[issue14910] argparse: disable abbreviation

2014-08-07 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, could you see if your comments were addressed? Steven, do you want to take another look, or is this OK to commit? -- ___ Python tracker __

[issue14910] argparse: disable abbreviation

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Updated patch -- Added file: http://bugs.python.org/file36260/issue14910_7.diff.txt ___ Python tracker ___

[issue14910] argparse: disable abbreviation

2014-08-04 Thread Daniel Eriksson
Daniel Eriksson added the comment: Fixed documentation issues -- Added file: http://bugs.python.org/file36246/issue14910_6.diff ___ Python tracker ___ ___

[issue14910] argparse: disable abbreviation

2014-08-03 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Library (Lib) -None stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue14910] argparse: disable abbreviation

2014-08-03 Thread Daniel Eriksson
Daniel Eriksson added the comment: Eli, will look into those tomorrow morning, so a final patch will come during tomorrow. Checked my spam folder - and there they where, fixed the settings now so I get it faster. -- ___ Python tracker

[issue14910] argparse: disable abbreviation

2014-08-03 Thread Eli Bendersky
Eli Bendersky added the comment: No worries, Daniel. You should have received an email when comments were posted to the review, did you? If you you may want to check your settings in the bug tracker. I left a couple of additional comments on the documentation file, but other than that this LG

[issue14910] argparse: disable abbreviation

2014-08-03 Thread Daniel Eriksson
Daniel Eriksson added the comment: Sorry for a new patch this close, but just tripple checked the documentation and noticed a word to much. Made it more clear hopefully -- Added file: http://bugs.python.org/file36229/issue14910_5.diff ___ Python trac

[issue14910] argparse: disable abbreviation

2014-08-03 Thread Daniel Eriksson
Daniel Eriksson added the comment: Oh, completely missed comments there too! I hope I got them all in a good way! -- Added file: http://bugs.python.org/file36228/issue14910_4.diff ___ Python tracker __

[issue14910] argparse: disable abbreviation

2014-08-02 Thread Eli Bendersky
Eli Bendersky added the comment: Daniel, I left some comments in Rietveld. Also it doesn't seem that you addressed the previously left comments when you fixed up the patch. -- ___ Python tracker __

[issue14910] argparse: disable abbreviation

2014-08-02 Thread Daniel Eriksson
Daniel Eriksson added the comment: Update the patch - issue_14910_3.diff argparse.rst - merging conflicts -- nosy: +dan...@starstable.com Added file: http://bugs.python.org/file36207/issue_14910_3.diff ___ Python tracker

[issue14910] argparse: disable abbreviation

2014-05-08 Thread paul j3
Changes by paul j3 : Added file: http://bugs.python.org/file35191/issue14910_2.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14910] argparse: disable abbreviation

2014-05-08 Thread paul j3
Changes by paul j3 : Removed file: http://bugs.python.org/file35190/issue14910_2.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14910] argparse: disable abbreviation

2014-05-08 Thread paul j3
paul j3 added the comment: Update the patch - test_argparse.py - cleanup spaces argparse.rst - merging conflicts -- Added file: http://bugs.python.org/file35190/issue14910_2.patch ___ Python tracker __

[issue14910] argparse: disable abbreviation

2014-04-14 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14910] argparse: disable abbreviation

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue14910] argparse: disable abbreviation

2013-11-28 Thread paul j3
paul j3 added the comment: For a programmer who needs to turn off this abbreviation matching now, a simple solution is to subclass ArgumentParser: class MyParser(ArgumentParser): def _get_option_tuples(self, option_string): return [] This could be the place to implement

[issue14910] argparse: disable abbreviation

2013-11-27 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue14910] argparse: disable abbreviation

2013-11-26 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue14910] argparse: disable abbreviation

2013-04-18 Thread Mark Lawrence
Mark Lawrence added the comment: Ping :) -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14910] argparse: disable abbreviation

2013-02-05 Thread Ugra Dániel
Changes by Ugra Dániel : -- nosy: +daniel.ugra ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14910] argparse: disable abbreviation

2012-12-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: +Michael.Edwards ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14910] argparse: disable abbreviation

2012-07-22 Thread R. David Murray
R. David Murray added the comment: Jonathan: we are in feature freeze right now preparing 3.3 for release, so you might want to ping the issue once 3.3 is out to remind us to do the checkin. -- nosy: +r.david.murray ___ Python tracker

[issue14910] argparse: disable abbreviation

2012-07-22 Thread Steven Bethard
Steven Bethard added the comment: Sorry, my mistake, the doc changes were already in the patch. I just checked them and they look good too. So everything's ready to commit. Thanks for your contribution! -- ___ Python tracker

[issue14910] argparse: disable abbreviation

2012-07-22 Thread Steven Bethard
Steven Bethard added the comment: I think it makes a lot of sense to allow people to disable abbreviations, so +1 on the feature request. The patch looked good. There was one typo - using "accept_abbrev" in the docstring instead of "allow_abbrev" as in the implementation, and I fixed that an

[issue14910] argparse: disable abbreviation

2012-05-26 Thread Jonathan Paugh
Jonathan Paugh added the comment: I created a patch that exibhts the requested behavior. I added tests, and updated the documentation. I ran the test-suite against a build of Python 3.3.0a3+, and all tests check out. This changes the public API of argparse.ArgumentParser and of its parse_args

[issue14910] argparse: disable abbreviation

2012-05-26 Thread Jonathan Paugh
Jonathan Paugh added the comment: I am dubious as to the use of this: I think resolving partial args is one of the best thing since invented since sliced bread. However, it's a good project to get my feet wet, so I'll take it on. I should have a patch later today--I'm working on test-cases ju

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.3 -Python 2.6, Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +bethard, tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue14910] argparse: disable abbreviation

2012-05-25 Thread Jens Jährig
Changes by Jens Jährig : -- title: argparse disable abbreviation -> argparse: disable abbreviation ___ Python tracker ___ ___ Python-b

[issue14910] argparse disable abbreviation

2012-05-25 Thread Jens Jährig
New submission from Jens Jährig : argparse uses per default abbreviation in unambiguous cases. I don't want abbreviation and i'd like to disable it. But theres no option to do this. http://docs.python.org/library/argparse.html#argument-abbreviations Only to override the Handler like suggested he

[issue14910] argparse disable abbreviation

2012-05-25 Thread Jens Jährig
Changes by Jens Jährig : -- components: None nosy: jens.jaehrig priority: normal severity: normal status: open title: argparse disable abbreviation type: enhancement versions: Python 2.6, Python 2.7 ___ Python tracker