nixpkgs/pkgs/development/interpreters/python/cpython
Timo Kaufmann 9db3a5869e python2: backport fix for pyc race condition
This is python bug https://bugs.python.org/issue13146. Fixed since
python 3.4. It makes pyc creation atomic, preventing a race condition.
The patch has been rebased on our deterministic build patch.

It wasn't backported to python 2.7 because there was a complaint about
changed semantics. Since files are now created in a temporary directory
and then moved, symlinks will be overridden. See
https://bugs.python.org/issue17222.

That is an edge-case however. Ubuntu and debian have backported the fix
in 2013 already, making it mainstream enough for us to adopt.
2019-07-03 08:40:51 +02:00
..
2.7 python2: backport fix for pyc race condition 2019-07-03 08:40:51 +02:00
3.5 python3{5,6}: Reintroduce bytecode determinism 2019-04-18 08:12:29 +02:00
3.6 CPython: merge expressions of interpreters 2019-01-04 10:45:22 +01:00
3.7 python37: fix build on macOS 2019-04-15 10:49:34 -07:00
docs Generate python3 docs 2019-04-28 09:24:01 +02:00
default.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00