os.nice (or docs) BUG?

Roman Suzi rnd at onego.ru
Tue Jul 10 04:52:00 EDT 2001


The following from the Python docs:

   nice (increment)
          Add increment to the process's ``niceness''. Return the new
          niceness. Availability: Unix.

Contradicts what I see in python 1.5.2 - 2.1:

>>> import os
>>> os.nice(1)
0
>>> os.nice(5)
0

(and the process niceness become 6 as reported by top)

It's docs inaccuracy or os.nice() bug? Or glibc bug?

Which category to report it in the Bug tracker?

Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Tuesday, July 10, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "<CTRL>-<ALT>-<DEL> is the key to success" _/





More information about the Python-list mailing list