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


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

Bug#1106776: ITP: python-manhole -- Debugging manhole for python applications

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Antoine Beaupre <anarcat@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python
Subject Bug#1106776: ITP: python-manhole -- Debugging manhole for python applications
Date Thu, 29 May 2025 18:20:02 +0200
Message-ID <KRO94-6ABl-1@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu May 29 16:17:09 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.4
Reply-To Antoine Beaupre <anarcat@debian.org>, 1106776@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message report 1106776
X-Debian-Pr-Package wnpp
Dmarc-Filter OpenDMARC Filter v1.4.2 marcos.anarc.at B9EB210E047
Authentication-Results marcos.anarc.at; dmarc=none (p=none dis=none) header.from=debian.org
Authentication-Results marcos.anarc.at; spf=none smtp.mailfrom=debian.org
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 13.1.0
X-Greylist delayed 579 seconds by postgrey-1.37 at buxtehude; Thu, 29 May 2025 16:14:46 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1907799
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 29 May 2025 12:05:04 -0400
X-Original-Message-ID <174853470439.683070.7686825901437858846.reportbug@angela.anarc.at>
Xref csiph.com linux.debian.bugs.dist:1248284 linux.debian.devel:117482 linux.debian.maint.python:16887

Cross-posted to 3 groups.

Show key headers only | View raw


Package: wnpp
Severity: wishlist
Owner: Antoine Beaupre <anarcat@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org

* Package name    : python-manhole
  Version         : 1.8.1
  Upstream Contact: https://github.com/ionelmc
* URL             : https://github.com/ionelmc/python-manhole
* License         : MIT
  Programming Lang: Python
  Description     : Debugging manhole for python applications

 Manhole is in-process service that will accept unix domain socket
 connections and present the stacktraces for all threads and an
 interactive prompt. It can either work as a python daemon thread
 waiting for connections at all times or a signal handler (stopping
 your application and waiting for a connection).
 .
 Access to the socket is restricted to the application's effective
 user id or root.
 .
 This is just like Twisted's manhole. It's simpler (no dependencies),
 it only runs on Unix domain sockets (in contrast to Twisted's manhole
 which can run on telnet or ssh) and it integrates well with various
 types of applications.
 .
 Features:
  * Uses unix domain sockets, only root or same effective user can connect.
  * Can run the connection in a thread or in a signal handler.
  * Compatible with apps that fork, reinstalls the Manhole thread after fork.
  * Compatible with gevent and eventlet with some limitations
  * The thread is compatible with apps that use signalfd

----

I'm surprised to not see this packaged in Debian. There's so many uses
for this! There's a couple of instances of manhole.py i can find in
apt-file, but the first i looked at (in synapse) actually uses
twisted's manhole, which i guess this is somewhat a copy of, but
standalone (so you don't need twisted).

I first found out about this project in archivebot's implementation
(which is not packaged in Debian), and now i need it in asncounter.

Let me know if it *is* packaged or was rejected or something.

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


Thread

Bug#1106776: ITP: python-manhole -- Debugging manhole for python applications Antoine Beaupre <anarcat@debian.org> - 2025-05-29 18:20 +0200

csiph-web