2007年04月30日 星期一 15:51
我有一块s3c2410 cpu的开发板,想把python放到开发板上去运行,只是,
我交叉编译出来的python,其他都好的,就是在运行lib中的test\testall.py时,会卡在
test_asynchat.py
我跟踪后发现,卡在了这个函数里:
    def test_numeric_terminator(self):
        # Try reading a fixed number of bytes
        s = echo_server()
        s.start()         # !!!! <----- 就在这卡了
        time.sleep(1) # Give server time to initialize
        c = echo_client(6L)
        c.push("hello ")
        c.push("world\n")
        asyncore.loop()
        s.join()
但是,奇怪的是,我单独运行python test_asynchat.py又没有问题。
有人能帮帮我吗?谢谢。
-- 
Best Regards,
Leo Jay
Zeuux © 2025
京ICP备05028076号