[issue13685] argparse does not sanitize help strings for % signs

2012-01-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Eric's suggested doc fix looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13685 ___

[issue13685] argparse does not sanitize help strings for % signs

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

[issue13685] argparse does not sanitize help strings for % signs

2012-01-03 Thread Jeff Yurkiw
Jeff Yurkiw j...@cyan.com added the comment: That would probably work too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13685 ___ ___

[issue13685] argparse does not sanitize help strings for % signs

2012-01-02 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: In case I wasn't clear, I mean that the help string supports %-formatting variable expansion, such as %(default)s. I think it would be good if a sentence were added to the end of the help section, saying something like: Because the help

[issue13685] argparse does not sanitize help strings for % signs

2011-12-30 Thread Jeff Yurkiw
New submission from Jeff Yurkiw j...@cyan.com: I discovered this while programming the command line interface for a python program that can take a passed argument and throw it into the 'where like' clause of a SQL expression (intended for a postgresql database). The wildcard character for

[issue13685] argparse does not sanitize help strings for % signs

2011-12-30 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: This is because the help text support substitution, as mentioned here: http://docs.python.org/dev/library/argparse.html#help It's possible this documentation could be improved. -- assignee: - docs@python components: +Documentation