[issue5672] Implement a way to change the python process name
Ludvig Ericson
report at bugs.python.org
Wed Sep 29 18:02:53 CEST 2010
Ludvig Ericson <ludvig at lericson.se> added the comment:
I use the setproctitle module extensively. It has worked flawlessly.
What would be needed for this to get accepted? I realize one shouldn't stress such a decision, but still I feel this is something the standard library should be able to do.
My justification for inclusion into the standard library is that one has to make a workaround on systems where setproctitle ISN'T installed (I don't feel such a small component should be a requirement for production use.)
Everywhere I use setproctitle, I have to go:
try:
from setproctitle import setproctitle
except ImportError:
setproctitle = lambda t: None
Which is not only rather lengthy, but also IMO entirely unnecessary. As I noted, setting the process title is mostly for convenience and aesthetics, and therefore it's hard to justify the dependency. For that reason I think standard library inclusion is more relevant than otherwise.
So, are there any other reasons to wait with this other than the need of a PEP and proposing that to python-dev or whatever forum is best suited?
----------
nosy: +lericson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5672>
_______________________________________
More information about the Python-bugs-list
mailing list