<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16466"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>My os is Win7, Trying
pypy-pypy-2346207d9946</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>run:</FONT></DIV>
<DIV><FONT face=Calibri> pypy>test_all.py
translator\test\test_unsimplify.py</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>will get a error:</FONT></DIV>
<DIV> <FONT face=Calibri>WindowsError: [Error 5] :
....</FONT></DIV>
<DIV><FONT face=Calibri>it can not os.unlink(..) a file.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I find this is
because <BR> fd = os.open(tmpfile, os.O_WRONLY |
os.O_CREAT, 0)</FONT></DIV>
<DIV><FONT face=Calibri>will create a readonly file in Windows
system.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>It should be</FONT></DIV>
<DIV><FONT face=Calibri> fd = os.open(tmpfile,
os.O_WRONLY | os.O_CREAT)</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>After fix this, still many test errors....</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Bookaa</FONT></DIV></BODY></HTML>