[issue10523] argparse has problem parsing option files containing empty rows

2018-07-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10523] argparse has problem parsing option files containing empty rows

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

[issue10523] argparse has problem parsing option files containing empty rows

2014-04-15 Thread Caelyn McAulay
Caelyn McAulay added the comment: I've attached a patch making the changes I suggested, assuming that the current behaviour is desirable. It documents the behaviour of argparse on files with blank lines and changes the way the error message that argparse generates when encountering

[issue10523] argparse has problem parsing option files containing empty rows

2014-04-14 Thread Caelyn McAulay
Caelyn McAulay added the comment: The current behaviour takes empty lines and interprets them as empty strings. The attached demonstration script shows the error occurring. The first case is a simple example to illustrate what happens in the general case. The second case shows empty lines

[issue10523] argparse has problem parsing option files containing empty rows

2011-02-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Crashing on an empty line is definitely a bug. Each line being a single option is documented behavior: http://docs.python.org/dev/library/argparse.html#fromfile-prefix-chars -- nosy: +bethard

[issue10523] argparse has problem parsing option files containing empty rows

2010-11-24 Thread Michal Pomorski
New submission from Michal Pomorski misi...@gmail.com: When using the argument file option, i.e @file_with_arguments the following problems arise: 1. argparse crashes when the file contains an empty line (even if it is the last line) - arg_string[0] is done when arg_string is empty.

[issue10523] argparse has problem parsing option files containing empty rows

2010-11-24 Thread Michal Pomorski
Changes by Michal Pomorski misi...@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10523 ___ ___ Python-bugs-list