Message104798
This bug exists on Python 2.6, too.
It seems to me that the right solution here is to use both opened files as context managers. See attached patch (made against the release26-maint branch).
The patch also cleans up the old-style exception signature in the precondition check. |
|
Date |
User |
Action |
Args |
2010-05-02 19:42:16 | tseaver | set | recipients:
+ tseaver, pitrou, ammon_riley |
2010-05-02 19:42:16 | tseaver | set | messageid: <1272829336.88.0.0323357967544.issue4265@psf.upfronthosting.co.za> |
2010-05-02 19:42:14 | tseaver | link | issue4265 messages |
2010-05-02 19:42:14 | tseaver | create | |
|