[Python-ideas] Add setpriority / getpriority to os module.
R. David Murray
rdmurray at bitdance.com
Wed Apr 22 03:39:50 CEST 2009
Alexandre Vassalotti <alexandre at peadrop.com> wrote:
> On Tue, Apr 7, 2009 at 9:12 PM, Christian Heimes <lists at cheimes.de> wrote:
> > Hello,
> >
> > I would like to add straight forward wrapper for the setpriority and
> > getpriority functions to posixmodule.c for the os module.
>
> Wouldn't it be better to add these functions to the 'resource' module?
'resource' is Unix specific, but Josiah indicates Windows equivalents
to set/getpriority are possible. In that case it seems like it belongs
in posix/os since it can eventually be made cross-platform.
--
R. David Murray http://www.bitdance.com
More information about the Python-ideas
mailing list