summaryrefslogtreecommitdiffstats
path: root/Include/pygetopt.h
Commit message (Collapse)AuthorAgeFilesLines
* move pygetopt.h to internal (closes bpo-32264) (#4830)Benjamin Peterson2017-12-151-28/+0
|
* closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)Benjamin Peterson2017-12-091-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Python now supports checking bytecode cache up-to-dateness with a hash of the source contents rather than volatile source metadata. See the PEP for details. While a fairly straightforward idea, quite a lot of code had to be modified due to the pervasiveness of pyc implementation details in the codebase. Changes in this commit include: - The core changes to importlib to understand how to read, validate, and regenerate hash-based pycs. - Support for generating hash-based pycs in py_compile and compileall. - Modifications to our siphash implementation to support passing a custom key. We then expose it to importlib through _imp. - Updates to all places in the interpreter, standard library, and tests that manually generate or parse pyc files to grok the new format. - Support in the interpreter command line code for long options like --check-hash-based-pycs. - Tests and documentation for all of the above.
* Issue #26900: Excluded underscored names and other private API from limited API.Serhiy Storchaka2016-09-111-1/+1
|
* Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-211-0/+2
| | | | earliest point.
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-0/+2
|
* Change command line processing API to use wchar_t.Martin v. Löwis2008-04-051-2/+2
| | | | Fixes #2128.
* Excise DL_EXPORT from Include.Mark Hammond2002-08-121-4/+4
| | | | Thanks to Skip Montanaro and Kalle Svensson for the patches.
* Move our own getopt() implementation to _PyOS_GetOpt(), and use itThomas Wouters2000-11-031-0/+17
regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.