Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12730

Re: Python3 -dbg packages

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Python3 -dbg packages
Date Tue, 07 Jul 2020 10:50:01 +0200
Message-ID <ApRsB-7iL-3@gated-at.bofh.it> (permalink)
References <ApEc2-7AK-31@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Jul 7 08:44:14 2020
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.25 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+ryNuEdJiCF4sQ6JcCn6sv/oF/ht1oHWhyJqsbr82qg=; b=ccG7Z1ZkwVOex6R0wLGZpjIRTIv0R37n5Xdq9stL72c/stmXl5A+Nf0tAMSQncnmh2 bers7dBhhW+1qBr2Ne1W7inCDP6oZxPSOU8q+4y+NU91lezXdK0V7dJnEE5oQFW3RJnB LqjIsNh7gV4B7C2YldJxrFiVGC5iQaIpT/OqP9boqV4egu7pHrQGW9WKAyQhZkLwdbZk hfipWMOvVyuCYGXMzKiuxwKfXppLNg+NItrCLC8FnnfKMnse4WXV4QyhQD0Zr0tU/cAl kOV0Ox6LG6cO/b3iVy8W8nFKrUJLJ4ZKT2iU3C73vHGCez1kQlQxh1fyUt2PtIDmz8dm aKXQ==
X-Gm-Message-State AOAM530atVfcmbpQT0IxF4PJHrkewHsumivukILJi9Kg+9pYPBGb7czo JDS1aGpeEEE4AjxGzGzUTmJCaUzP
X-Google-SMTP-Source ABdhPJzWTQn4UIjvTT7O3fR7JeyVn1ljzVHNjhIWUwiAl+UvDzEeAkuvKkk7Xiti+ynQ1q7oazgGzQ==
X-Received by 2002:a2e:7019:: with SMTP id l25mr15391467ljc.256.1594111439254; Tue, 07 Jul 2020 01:43:59 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18458
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200707084356.GA224126@mitya57.me
Approved robomod@news.nic.it
Lines 50
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 7 Jul 2020 11:43:56 +0300
X-Original-Message-ID <20200707084356.GA224126@mitya57.me>
X-Original-References <2bb25f5a-6636-7d05-ed39-759e2bcee81d@debian.org>
Xref csiph.com linux.debian.maint.python:12730

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python3 -dbg packages Matthias Klose <doko@debian.org> - 2020-07-06 20:40 +0200
  Re: Python3 -dbg packages Dmitry Shachnev <mitya57@debian.org> - 2020-07-07 10:50 +0200
  Re: Python3 -dbg packages Matthias Klose <doko@debian.org> - 2021-09-03 11:00 +0200
    Re: Python3 -dbg packages Scott Talbert <swt@techie.net> - 2021-09-13 16:20 +0200
      Re: Python3 -dbg packages Matthias Klose <doko@debian.org> - 2021-09-14 08:40 +0200
        Re: Python3 -dbg packages Matthias Klose <doko@debian.org> - 2021-09-15 12:50 +0200
          Re: Python3 -dbg packages Sandro Tosi <morph@debian.org> - 2021-09-15 15:30 +0200

csiph-web