[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python3 -dbg packages



Hi Matthias!

On Mon, Jul 06, 2020 at 08:33:39PM +0200, Matthias Klose wrote:
> Python 3.8 upstream now has a common ABI for normal and debug extension
> builds, so it is technically possible to load a debug extension in
> the normal interpreter, or to load a normal extension in the debug
> interpreter.

Packages from the PyQt5 stack (pyqt5, pyqt5chart, pyqt5webengine, qscintilla2)
have recently started to use PEP 384 limited ABI (the built files are named
*.abi3.so). However, when a debug interpreter is used for build, the build
system disables this feature and builds a normal *.cpython-38d-*.so file:

https://riverbankcomputing.com/hg/sip/file/6169324910f8/sipbuild/buildable.py#l60

Because of this, I decided to still build -dbg versions for these packages.

Do you know how much the -dbg interpreter is compatible with *.abi3.so files?
I just checked, and apparently it can import them, but maybe there is some
benefit in keeping the normal debug versions too?

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: