[issue14527] How to link with a non-system libffi?

2021-03-23 Thread Rupert Nash
Rupert Nash added the comment: Due to some major changes in setup.py around libffi, I've had to re-implement my patch - please see Github. I'd appreciate any comments so we can get this merged. Thanks! -- ___ Python tracker <ht

[issue14527] How to link with a non-system libffi?

2020-05-27 Thread Rupert Nash
Rupert Nash added the comment: I have just struggled with building CPython with the _ctypes module. Fundamentally, the problem appears to be that configure uses pkgconfig to find the libffi include directory, while setup.py's detect_ctypes only uses the global list of library directories

[issue14527] How to link with a non-system libffi?

2020-05-27 Thread Rupert Nash
Change by Rupert Nash : -- keywords: +patch nosy: +rnash nosy_count: 3.0 -> 4.0 pull_requests: +19705 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20451 ___ Python tracker <https://bugs.p

[issue30216] xdrlib.Unpacker.unpack_string returns bytes (docs say should be str)

2017-04-30 Thread Rupert Nash
New submission from Rupert Nash: According to the docs this method should return a str, but it returns bytes https://docs.python.org/3.6/library/xdrlib.html#xdrlib.Unpacker.unpack_string I can see three options: a default encoding should be applied the documentation updated to make clear