History for Python/getopt.c - python/cpython · GitHub

github.com

Tin mới

GH-133336: Remove reserved ``-J`` flag for Jython (#133444)

GH-133336: Remove reserved ``-J`` flag for Jython (#133444)

Make the Python CLI error message style more consistent (GH-128129)

Make the Python CLI error message style more consistent (GH-128129)

gh-110079: Remove extern "C" { ...} in C code (#110080)

gh-110079: Remove extern "C" { ...} in C code (#110080)

gh-90300: split --help output into separate options (#30331)

gh-90300: split --help output into separate options (#30331)

gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542)

gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542)

bpo-40527: Fix command line argument parsing (GH-19955)

bpo-40527: Fix command line argument parsing (GH-19955)

Delete stale comment in Python/getopt.c. (GH-14719)

Delete stale comment in Python/getopt.c. (GH-14719)

Fix typos in comments, docs and test names (#15018)

Fix typos in comments, docs and test names (#15018)

bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() (GH-13371)

bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() (GH-13371)

bpo-36301: Add _PyWstrList structure (GH-12343)

bpo-36301: Add _PyWstrList structure (GH-12343)

bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173)

bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173)

bpo-35081: Add pycore_ prefix to internal header files (GH-10263)

bpo-35081: Add pycore_ prefix to internal header files (GH-10263)

move pygetopt.h to internal (closes bpo-32264) (#4830)

move pygetopt.h to internal (closes bpo-32264) (#4830)

closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)

closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)

#16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka.

#16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka.

#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.

#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.

Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.

Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.

Issue #10089: Add support for arbitrary -X options on the command-line.

Issue #10089: Add support for arbitrary -X options on the command-line.

Recorded merge of revisions 81029 via svnmerge from

Recorded merge of revisions 81029 via svnmerge from

Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,…

Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,…

Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,62302-62306,62308,62311,62313-62315,62319-62321 via svnmerge from

Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,62302-62306,62308,62311,62313-62315,62319-62321 via svnmerge from

Change command line processing API to use wchar_t.

Change command line processing API to use wchar_t.

Merged revisions 46753-51188 via svnmerge from

Merged revisions 46753-51188 via svnmerge from

Merge p3yk branch with the trunk up to revision 45595. This breaks a fair

Merge p3yk branch with the trunk up to revision 45595. This breaks a fair

Move our own getopt() implementation to _PyOS_GetOpt(), and use it

Mass ANSIfication of function definitions. Doesn't cover all 'extern'

Tim Peters discovered a bug in the Python-supplied getopt():

Patch by Chris Herborth:

Fix a bug in this code that made it do the wrong thing when an option

(Jack:) Don't define TRUE and FALSE if already defined.

don't use function prototypes

New version handles -o<string> same as -o <string>

A getopt.c for your amusement