[Python-Dev] os.getpriority() and os.setpriority() (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Dec 28 21:11:56 CET 2010
- Previous message: [Python-Dev] os.getpriority() and os.setpriority()
- Next message: [Python-Dev] [Python-checkins] r87504 - in python/branches/py3k: Doc/c-api/exceptions.rst Include/pyerrors.h Include/warnings.h
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
I don't mind exposing it (somewhere), however, it should keep its original name. In addition, you probably need OpenProcess, as well as Get/SetThreadPriority along with it.
I think Python should incorporate something like pywin32, to expose all APIs whole-sale, in a type-safe manner (unlike ctypes).
Regards, Martin
- Previous message: [Python-Dev] os.getpriority() and os.setpriority()
- Next message: [Python-Dev] [Python-checkins] r87504 - in python/branches/py3k: Doc/c-api/exceptions.rst Include/pyerrors.h Include/warnings.h
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]