I was testing select on windows xp with python 2.6.1, the code is simple:

import sys
import select

def testSelect():
    r = select.select([sys.stdin], [], [], 5.0)
    print r

if __name__ == "__main__":
    try:
        testSelect()
    except select.error, e:
        print e

While an error raised like this:

(10093, '\xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xc3\xbb\xd3\xd0\xb5\xf7\xd3\xc3
WSAStartup\xa3\xac\xbb\xf2\xd5\xdf WSAStartup')

What is this about?

Thanks in adv.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to