Python 2.5 and stdin

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hg

    #1

    Python 2.5 and stdin

    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




Working...