László Attila Tóth added the comment: It seems I found the solution in the attached file argparse.disable_interspersed_args.python35.diff, and it's much-much easier than I thought. I assume that this patch can cleanly applied to earlier versions (python 3.2-3.4), but I didn't check it.
---------- versions: +Python 3.2, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file38275/argparse.disable_interspersed_args.python35.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13966> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com