cpython/Doc/reference
Benjamin Peterson 42aa93b8ff
closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)
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.
2017-12-09 10:26:52 -08:00
..
compound_stmts.rst Remove redundant 'exc = True' line (GH-4357) 2017-11-11 17:55:05 +03:00
datamodel.rst bpo-31709: Drop support for asynchronous __aiter__. (#3903) 2017-10-06 02:08:57 -04:00
executionmodel.rst bpo-30372: Clarify that '__builtins__' is a CPython Implementation detail (GH-1725) 2017-05-22 14:09:55 -07:00
expressions.rst bpo-10544: Deprecate "yield" in comprehensions and generator expressions. (GH-4579) 2017-12-01 14:54:17 +10:00
grammar.rst
import.rst closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
index.rst
introduction.rst Python for .NET has moved to Github. 2016-02-03 22:05:46 -06:00
lexical_analysis.rst bpo-31810: added missing keywords to docs. (#4140) 2017-11-08 12:31:26 -05:00
simple_stmts.rst Fix typo in Simple Statements documentation (GH-3809) 2017-09-28 12:54:48 -07:00
toplevel_components.rst #22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse) 2014-10-31 10:38:49 +01:00