[issue10506] argparse execute system exit in python prompt

2010-11-22 Thread Tarsis Azevedo
New submission from Tarsis Azevedo tarsis.azev...@gmail.com: Hi all, when I use argparse in python prompt, and raise a exception, as the code below: import argparse parser = argparse.ArgumentParser() parser.add_argument('-i' type=int) parser.parse_args(['-i', 'a']) the

[issue10506] argparse execute system exit in python prompt

2010-11-22 Thread Santoso Wijaya
Changes by Santoso Wijaya santa@me.com: -- nosy: +santa4nt versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10506 ___ ___

[issue10506] argparse execute system exit in python prompt

2010-11-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is working as designed. Whether or not the design is correct has been debated in the past. If you want to re-debate it the appropriate place is probably python-ideas. -- nosy: +bethard, r.david.murray resolution: -