Python 2.5 and stdin

hg hg at nospam.org
Sun Jun 3 12:29:35 EDT 2007


Hi,

I have upgraded to 2.5 and one of my program no longre functions:

In a thread run function, I attempts to get a "raw_input('')" and get the
error
***********************************
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
    self.run()
  File "/usr/local/games/RealTimeBattle/Robots/pyrobot.py", line 89, in run
    l_res = raw_input('')
IOError: [Errno 11] Resource temporarily unavailable
***********************************

The full source code is here: http://snakecard.com/rtb/


Any clue ?

Thanks,

hg







More information about the Python-list mailing list