[Python-checkins] r46146 - sandbox/trunk/rjsh-pybench/pybench.py

"Martin v. Löwis" martin at v.loewis.de
Wed May 24 20:51:50 CEST 2006


Tim Peters wrote:
> GetProcessTimes() is a relatively new addition to the Win32 API.
> Doesn't exist in any version of 9X/ME.  Does exist in XP.  May or may
> not exist in Win2K (docs say it exists in Win2K Pro and Win2K Server;
> they don't claim it exists in plain Win2K).

IIRC, there was no "plain Win2K", only Pro, AS, and Datacenter
(actually, I didn't remember - wikipedia told me).

So GetProcessTimes *is* available on W2k (it actually was
available in NT 3.5 according to the API documentation).

However, it is *not* available in W9x, and we decided to still
support W9x in Python 2.5. That means it must be called through
GetProcAddress still.

Regards,
Martin


More information about the Python-checkins mailing list