My os is Win7, Trying pypy-pypy-2346207d9946

run:
    pypy>test_all.py translator\test\test_unsimplify.py

will get a error:
    WindowsError: [Error 5] : ....
it can not os.unlink(..) a file.

I find this is because 
    fd = os.open(tmpfile, os.O_WRONLY | os.O_CREAT, 0)
will create a readonly file in Windows system.

It should be
    fd = os.open(tmpfile, os.O_WRONLY | os.O_CREAT)

After fix this, still many test errors....

Bookaa
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to