Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 17, 2009, 12:59 PM

Post #1 of 2 (128 views)
Permalink
[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

Brian Curtin <curtin [at] acm> added the comment:

Attached is a patch against trunk r76325 which implements context
manager support for fileinput/FileInput, with tests and doc change.

----------
keywords: +patch
nosy: +brian.curtin
Added file: http://bugs.python.org/file15355/issue1286.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue1286>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 17, 2009, 1:03 PM

Post #2 of 2 (123 views)
Permalink
[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol [In reply to]

Changes by Guido van Rossum <guido [at] python>:


----------
nosy: -gvanrossum

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue1286>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.