Serhiy Storchaka added the comment:

Thanks, Ezio, for point.

> without the patch:
> $ ./python -a -z
> Unknown option: -a
> Unknown option: -z
> usage: ./python [option] ... [-c cmd | -m mod | file | -] [arg] ...

This behavior isn't correct. Try also "-E -a -z" and "-a -E -z" (also with 
3.3.0).

However IĀ found an error in the test in my patch (actually previous test for 
2.7 was correct, but not full). Patch updated, new tests added.

----------
Added file: http://bugs.python.org/file28087/test_unknown_option_2.patch

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

Reply via email to