[Python-Dev] Pondering some changes to python.c... (original) (raw)
Sean Reifschneider jafo@tummy.com
Mon, 8 Apr 2002 17:10:16 -0600
- Previous message: [Python-Dev] Pondering some changes to python.c...
- Next message: [Python-Dev] Pondering some changes to python.c...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Apr 08, 2002 at 05:46:24PM -0400, Guido van Rossum wrote:
Sigh. The more I hear about this, the more I think, too ugly, this doesn't belong in Python.
It's easier if we make the following restrictions:
You can only set the process title to something the length of the original command-line or shorter (should work fine for simply deleting the "python" at the beginning).
After calling sys.setproctitle(), C code which has ahold of argv will no longer have the original argv data. We should be able to have a copy of the original argv for regular python code.
Are these reasonable restrictions to place on the setting of the process title?
Sean
One person's data is another person's program. -- Guy L. Steele, Jr. Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com> tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
- Previous message: [Python-Dev] Pondering some changes to python.c...
- Next message: [Python-Dev] Pondering some changes to python.c...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]