Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move pygetopt.h to internal (closes bpo-32264) (#4830) | Benjamin Peterson | 2017-12-15 | 1 | -28/+0 |
| | |||||
* | closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) | Benjamin Peterson | 2017-12-09 | 1 | -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 Storchaka | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | Fix test failure in test_cmd_line by initializing the hash secret at the ↵ | Antoine Pitrou | 2012-02-21 | 1 | -0/+2 |
| | | | | earliest point. | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 1 | -0/+2 |
| | |||||
* | Change command line processing API to use wchar_t. | Martin v. Löwis | 2008-04-05 | 1 | -2/+2 |
| | | | | Fixes #2128. | ||||
* | Excise DL_EXPORT from Include. | Mark Hammond | 2002-08-12 | 1 | -4/+4 |
| | | | | Thanks to Skip Montanaro and Kalle Svensson for the patches. | ||||
* | Move our own getopt() implementation to _PyOS_GetOpt(), and use it | Thomas Wouters | 2000-11-03 | 1 | -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. |