Ticket #5509 defect closed fixed
Can't delete failure.xhtml on Windows because FailureElement keeps a handle open to it
| Reported by: | ivank | Owned by: | exarkun |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | windows |
| Cc: | ivank-twisted-bugs@… | Branch: |
branches/xmlfile-closing-5509
(diff, github, buildbot, log) |
| Author: | ivank | Launchpad Bug: |
Description
twisted.web.util.FailureElement keeps a handle open to failure.xhtml:
loader = XMLFile(FilePath(__file__).sibling('failure.xhtml').open())
On Windows, this makes it very hard to change the state of a Twisted checkout when I have a twisted.web program running. If I install Twisted, this problem probably makes it impossible to fully install a new Twisted (again, while a program is running).
Process Explorer shows that my program does not keep handles open to other Twisted files, so this problem, despite being a Python open()/Windows issue, should probably be fixed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

