[Python-Dev] Add sendfile() to core? (original) (raw)

Martin v. Loewis martin@v.loewis.de
21 Mar 2002 11:39:53 +0100


Hye-Shik Chang <perky@fallin.lv> writes:

I did some quick hack to use 'setproctitle' of sendmail. I think it is very useful for daemons to show their status. I'm sorry but, can you review this for posixmodule candidate, too?

posixmodule is for simple wrappers about operating system calls, potentially also for library calls of the C library. This code is much more complicated, so I don't think this should go into posixmodule.c.

Also, I think it is incorrect: the way it plays with the environment breaks setenv/putenv, right?

Regards, Martin