Message5699
The bug can be reproduced by running the code below on Windows:
-----8<-----------8<---------
from xml.etree import ElementTree as ET
import os
path = 'temp.xml'
f = open(path, 'w')
f.write('<whatever/>')
f.close()
ET.parse(path)
os.remove(path)
-----8<-----------8<---------
The result of execution is this error:
Traceback (most recent call last):
File "rmbug.py", line 10, in <module>
os.remove(path)
File "C:\jython2.5.1\Lib\os.py", line 342, in remove
raise OSError(0, "couldn't delete file", path)
OSError: [Errno 0] couldn't delete file: 'temp.xml' |
|
Date |
User |
Action |
Args |
2010-04-14 11:07:22 | pekka.klarck | set | recipients:
+ pekka.klarck |
2010-04-14 11:07:22 | pekka.klarck | set | messageid: <1271243242.56.0.695974502852.issue1598@psf.upfronthosting.co.za> |
2010-04-14 11:07:22 | pekka.klarck | link | issue1598 messages |
2010-04-14 11:07:21 | pekka.klarck | create | |
|