Hi, I'm the author of python-ptrace project. You should user python-ptrace bug tracker, or write me directly an email, instead of writing to Debian bug tracker.
To "delete" a process, you should detach it using process.detach(), and not call directly process.deleteProcess(). Working example: -------------- #!/usr/bin/python import sys, ptrace.debugger pid = int(sys.argv[1]) debugger = ptrace.debugger.PtraceDebugger() print "processes:", list(debugger) process = debugger.addProcess(pid, False) process.was_attached = True print "processes:", list(debugger) process.detach() print "processes:", list(debugger) debugger.addProcess(pid, False) print "processes:", list(debugger) -------------- Your usecase is not supported by python-ptrace yet: you have to fix process.was_attached attribute. Victor -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org