Message50180
The attached patch implements long option support for
Python. It changes the optstring found in
Modules/main.c, specifying brackets for the long name
of a corresponding option name. The patch is backward
compatible in that it doesn't change the behaviour of
_PyOS_GetOpt for any old format string, except on
[:()], which are explicitly excluded for matching an
option. This shouldn't break any code, though.
The patch is against Python 2.4.3. |
|
| Date |
User |
Action |
Args |
| 2007-08-23 15:48:42 | admin | link | issue1481112 messages |
| 2007-08-23 15:48:42 | admin | create | |
|