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 python: Move catch_conflicts.py into subdirectory (#23600) 2017-04-01 12:22:36 +02:00
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 buildPython*: add updateScript to passthru 2018-12-07 15:48:54 +01:00
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 buildPythonPackage: refactor 2016-12-05 10:29:22 +01:00
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 Python: move python-modules/generic to interpreter folder 2016-09-01 16:16:31 +02:00
setup-hook.nix Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
setup-hook.sh python: make it possible to disable the python setup-hook 2019-04-28 09:20:41 +02:00
with-packages.nix python: add python.withPackages function 2016-05-29 15:12:23 +02:00
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