[issue13263] Group some os functions in submodules

Ezio Melotti report at bugs.python.org
Wed Oct 26 08:41:47 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

It would be fine for me to rename os.sched_get_priority_max() to os.sched.get_priority_max().
os.sched.sched_get_priority_max() is a bit redundant, and I think it's not to difficult to figure out that os.sched.get_priority_max() corresponds to the posix sched_get_priority_max() function, especially if we add a note to the doc (I'm only -0 about keeping the original name though).
Regarding the other functions that don't share a common prefix it's certainty better to keep the original name.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13263>
_______________________________________


More information about the Python-bugs-list mailing list