Hi all,
after having implemented something very similar in psutil:
http://code.google.com/p/psutil/issues/detail?id=142
...I decided to contribute a patch for exposing getpriority() and
setpriority() system calls in the os module:
http://bugs.python.org/issue10784

This was also raised some time ago:
http://mail.python.org/pipermail/python-ideas/2009-April/004028.html
...and it seems feedbacks were positive.

I think it would be nice to have Windows equivalents (GetPriorityClass
/ SetPriorityClass) as well but I'm not sure how since their notation
is different.


Regards,

--- Giampaolo
http://code.google.com/p/pyftpdlib
http://code.google.com/p/psutil
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to