Package Details: python-dbg 3.11.8-1

Git Clone URL: https://aur.archlinux.org/python-dbg.git (read-only, click to copy)
Package Base: python-dbg
Description: Python 3 interpreter (debug).
Upstream URL: http://www.python.org/
Keywords: debug-symbols python
Licenses: custom
Submitter: daskol
Maintainer: kevr (ei-grad)
Last Packager: kevr
Votes: 4
Popularity: 0.015461
First Submitted: 2018-07-13 15:29 (UTC)
Last Updated: 2024-03-21 23:51 (UTC)

Latest Comments

1 2 Next › Last »

kevr commented on 2024-02-15 13:34 (UTC)

649dcb439867

With 3.11.6 update, python3.9 binaries are now python3.11 binaries.

kevr commented on 2024-02-15 13:12 (UTC)

Thanks, SanderV, it's been quite a bit of time since I've touched this package and the update escaped my focus. Updating now for the current version of arch's python.

SanderV commented on 2024-02-14 08:08 (UTC) (edited on 2024-02-14 08:10 (UTC) by SanderV)

Could this be updated to the latest (3.11.6 ATM)? Having this be the same version as the official Python package allows using the site-packages dir of the regular Python through PYTHONPATH.

With this package still at the old version, doing so yields a numpy loading error for me.

I confirmed that the package works by just updating the pkgver.

kevr commented on 2021-12-09 02:27 (UTC)

@fmagin This package has been built as a debug build of Python forever. I simply carried it along, updated it and moved it over to /opt so that it would not conflict with official repo's python installation.

I'd be down for making a package that purely includes DWARF debug information, but that's not really what this package was intended for originally.

fmagin commented on 2021-12-06 10:33 (UTC)

I expected this package to just contain the DWARF debug information, but this also seems to enable the GC_DEBUG flag somehow, which activates list validation inside the garbage collector. See https://github.com/python/cpython/blob/main/Modules/gcmodule.c#L366-L414 This has a huge impact on performance, and now 90% of my code is spent inside validate_lists. The question is what this package aims to be? a -dbg package that supplies DWARF debug information for resolving symbols (like for performance profiling) or specifically a debug build of Python that is expected to have such debugging flags like GC_DEBUG activated.

kevr commented on 2021-11-20 07:25 (UTC)

0b30003bdeeb - install python-dbg independently

Changes:
  • python-dbg is now installed to /opt/python-dbg and is completely independent of the system-installed python package.
  • python-dbg no longer provides python.
  • Due to the new prefix, /opt/python-dbg/lib is used for Python packages with the debug executable links.
Symlinks are provided in /usr/bin:
  • /usr/bin/python3.9d
  • /usr/bin/python3.9d-config
  • /usr/bin/python-dbg
  • /usr/bin/python3-dbg
  • /usr/bin/python3.9-dbg
  • /usr/bin/python-config-dbg
  • /usr/bin/python3-config-dbg
  • /usr/bin/python3.9-config-dbg
  • /usr/bin/idle3-dbg
  • /usr/bin/idle3.9-dbg
  • /usr/bin/pip3-dbg
  • /usr/bin/pip3.9-dbg
  • /usr/bin/pydoc3-dbg
  • /usr/bin/pydoc3.9-dbg

The versions will change when the package is updated to a new major + minor.

kevr commented on 2021-11-18 04:11 (UTC)

@staletic For now, you have to choose one or the other. I know you commented on this a year ago; I'll look into separating it into its own python-dbg paths around the filesystem and hopefully push up an update which solves this for you.

No promises, though.

staletic commented on 2020-11-09 17:11 (UTC)

This package conflicts python from the extra repository. I'd love to be able to install them side by side, so that vim can keep using the non-debug python, while I debug CPython in gdb.

daskol commented on 2020-11-08 12:09 (UTC)

@Andrea993 Thanks. Build dependencies are updated.

Andrea993 commented on 2020-11-03 09:47 (UTC)

It needs valgrind as build dependence