[issue4458] getopt.gnu_getopt() loses dash argument

2008-12-05 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Fixed in r67572. I won't backport this. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4458

[issue4458] getopt.gnu_getopt() loses dash argument

2008-11-28 Thread Yevgen Muntyan
New submission from Yevgen Muntyan [EMAIL PROTECTED]: If you feed a dash as an argument to getopt.gnu_getopt() then it gets lost, because the code only checks if the argument starts with a dash, not if it's more than a dash (unlike getopt.getopt() which is correct). Example: import getopt