3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/python
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
..
catch_conflicts
cpython python2: backport fix for pyc race condition 2019-07-03 08:40:51 +02:00
pypy treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
update-python-libraries
build-python-package-common.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
build-python-package-flit.nix buildPythonPackage: fix building with flit 2019-03-06 13:42:46 +01:00
build-python-package-pyproject.nix buildPythonPackage: initial support for PEP 517 2019-02-23 20:05:19 +01:00
build-python-package-setuptools.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
build-python-package-wheel.nix
build-python-package.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
default.nix python: provide hasCxxDistutils attribute for pythonPackages.numpy 2019-04-28 09:17:59 +02:00
mk-python-derivation.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
run_setup.py
setup-hook.nix
setup-hook.sh python: make it possible to disable the python setup-hook 2019-04-28 09:20:41 +02:00
with-packages.nix
wrap-python.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
wrap.sh Add flag to disable PYTHONNOUSERSITE for wrapped binaries in python environments 2019-05-13 02:56:56 -07:00
wrapper.nix Add flag to disable PYTHONNOUSERSITE for wrapped binaries in python environments 2019-05-13 02:56:56 -07:00