3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/python/cpython/3.7
Ivan Babrou b00c7c2d1d python37, python2: remove win64 workaround to fix aarch64-darwin
The issue manifests itself as the following on `aarch64-darwin`:

```
>>> import ctypes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/nix/store/i8cq0xrjirz1rcp65wzcyhj6ypzlw9il-python3-3.7.10/lib/python3.7/ctypes/__init__.py", line 551, in <module>
    _reset_cache()
  File "/nix/store/i8cq0xrjirz1rcp65wzcyhj6ypzlw9il-python3-3.7.10/lib/python3.7/ctypes/__init__.py", line 273, in _reset_cache
    CFUNCTYPE(c_int)(lambda: None)
MemoryError
```

The commit we backport is included in Python 3.8, and it reverts
the change that was introduced all the way back in Python 2.7.
2021-03-03 16:02:07 -08:00
..
darwin-libutil.patch
fix-finding-headers-when-cross-compiling.patch cpython: fix finding headers when cross-compiling extension modules 2020-12-28 13:09:00 +01:00
fix-hardcoded-path-checking-for-rpmbuild.patch
no-ldconfig.patch python37: 3.7.9 -> 3.7.10, fixup patches 2021-02-20 12:13:07 +01:00
no-win64-workaround.patch python37, python2: remove win64 workaround to fix aarch64-darwin 2021-03-03 16:02:07 -08:00
python-3.x-distutils-C++.patch