[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
miss-islington added the comment: New changeset 4e6bd247aa955056626bf0cf8dc1c65a587b871f by Miss Islington (bot) in branch '2.7': bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) https://github.com/python/cpython/commit/4e6bd247aa955056626bf0cf8dc1c65a587b871f

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +7187 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
miss-islington added the comment: New changeset 842985f6c70484ed7b8fc30d0bc05aec73236a98 by Miss Islington (bot) in branch '3.7': bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) https://github.com/python/cpython/commit/842985f6c70484ed7b8fc30d0bc05aec73236a98

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +7168 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
miss-islington added the comment: New changeset 376c272d68cca0975ff0be3d12abf5f67da342d7 by Miss Islington (bot) in branch '3.6': bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) https://github.com/python/cpython/commit/376c272d68cca0975ff0be3d12abf5f67da342d7

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +7162 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +7158 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2018-06-08 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 66f02aa32f1e4adb9f24cf186f8c495399d5ce9b by Nick Coghlan (wim glenn) in branch 'master': bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) https://github.com/python/cpython/commit/66f02aa32f1e4adb9f24cf186f8c495399d5ce9b

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2016-01-16 Thread Martin Panter
Changes by Martin Panter : -- status: open -> closed type: crash -> behavior ___ Python tracker ___

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2015-06-29 Thread John Jones
John Jones added the comment: Im kind of surprised this bug has lasted for so many years :) setting part_regexp to: r'\(.*?\(.*?\).*?\)+|\[.*?\[.*?\].*?\]+|\S+' fixes the issue for me, although its not very elegant -- nosy: +John Jones ___ Python

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2013-05-12 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: -- nosy: +paul.j3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14046 ___ ___ Python-bugs-list mailing list

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2012-02-25 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Yes, this is a known bug (Issue 11874). Patches welcome. -- resolution: - duplicate superseder: - argparse assertion failure with brackets in metavars ___ Python tracker

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2012-02-24 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14046 ___ ___ Python-bugs-list mailing

[issue14046] argparse: assertion failure if optional argument has square/round brackets in metavar

2012-02-17 Thread Mansour
New submission from Mansour mans...@oxplot.com: I have a web server written in python which takes an optional argument telling it what IP and port to bind to. Here's the definition: parser.add_argument( '-b', '--bind', metavar=[ip]:port, type=unicode, help=IP and port to bind to. )