This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients djc, r.david.murray
Date 2011-02-04.13:44:22
SpamBayes Score 0.053125296
Marked as misclassified No
Message-id <1296827063.58.0.0444529247924.issue11115@psf.upfronthosting.co.za>
In-reply-to
Content
There is no underlying file object.  I presume you mean the reader/writer object?  Which have no close method, so there is no point in making them a context manager.  There is zero benefit and positive cost (an additional nesting level).  Just use with to open the file you then wrap in a reader/writer instance.
History
Date User Action Args
2011-02-04 13:44:23r.david.murraysetrecipients: + r.david.murray, djc
2011-02-04 13:44:23r.david.murraysetmessageid: <1296827063.58.0.0444529247924.issue11115@psf.upfronthosting.co.za>
2011-02-04 13:44:23r.david.murraylinkissue11115 messages
2011-02-04 13:44:22r.david.murraycreate