Message271310
As reported here:
https://mail.python.org/pipermail/python-list/2016-July/711333.html
there's a possible annoyance with getopt when you accidentally leave whitespace on a long option. On my Centos system, getopt ignores leading and trailing whitespace on long options.
[steve@ando ~]$ getopt -o "" -l " spam , eggs " -- --spam --eggs arg
--spam --eggs -- 'arg'
Python's getopt should do the same. (Patch attached.) |
|
Date |
User |
Action |
Args |
2016-07-26 00:50:17 | steven.daprano | set | recipients:
+ steven.daprano |
2016-07-26 00:50:17 | steven.daprano | set | messageid: <1469494217.58.0.75154224673.issue27619@psf.upfronthosting.co.za> |
2016-07-26 00:50:17 | steven.daprano | link | issue27619 messages |
2016-07-26 00:50:16 | steven.daprano | create | |
|