STINNER Victor added the comment:

Xiang: "This regression is introduced in 4df2d43e995d."

Sorry, my commit message is very short.

I made this change because I was very annoying of getting "unknown test -m" and 
"unknown test test_access" when using the -m option to filter tests:

   ./python -m test test_os -m test_access

It's annoying to have to type:

   ./python -m test -m test_access test_os

By the way, it seems weird to have two consecutive -m with two different 
meanings ;-)

I didn't expect any regression, since argparse is smart to parse arguments. If 
something is wrong, I wouldn't call it a bug in argparse, but a bug in 
regrtest, how regrtest uses argparse.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28409>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to