Re: select error 10093 on winxp

2009-02-09 Thread Gabriel Genellina
En Tue, 10 Feb 2009 04:11:31 -0200, Ken escribió: I was testing select on windows xp with python 2.6.1, the code is simple: See the note in the documentation of module select: http://docs.python.org/library/select.html#select.select "Note: File objects on Windows are not acceptable, but sock

select error 10093 on winxp

2009-02-09 Thread Ken
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 ra