Message116362
Here is a patch for the py3k branch which adds a check for whether the GzipFile is closed on each call to GzipFile.read(). If the file is closed already, the method raises a ValueError if it is (with the message text copied from the corresponding fileobject's error message). I added an assertion to the test_read() method in Lib/test/test_gzip.py.
The changes will be exactly the same for the 2.7 branch. |
|
Date |
User |
Action |
Args |
2010-09-14 03:34:18 | jfinkels | set | recipients:
+ jfinkels, pitrou, eric.araujo, ack |
2010-09-14 03:34:17 | jfinkels | set | messageid: <1284435257.28.0.226368788445.issue9759@psf.upfronthosting.co.za> |
2010-09-14 03:34:15 | jfinkels | link | issue9759 messages |
2010-09-14 03:34:15 | jfinkels | create | |
|