win32api.GetSystemInfo gives wrong results 1 in 10 times

Mark Hammond MarkH at ActiveState.com
Mon Oct 16 16:47:51 EDT 2000


"Gordon Williams" <g_will at cyberus.ca> wrote in message
news:8sfbn2$bpp$1 at news2.ottawa.cyberus.ca...

> Is this happening to anyone else and what can I do to work around
it??

Not to me.  I can run this a few times without problems:

>>> first = win32api.GetSystemInfo()
>>> for x in xrange(1000000):
...     if win32api.GetSystemInfo() != first:
...         print "Eeek - failed after", x
...         break
...


Mark.






More information about the Python-list mailing list