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 paul.j3
Recipients anacrolix, bethard, josh.r, moritz, paul.j3, pitrou
Date 2014-04-01.07:42:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396338180.22.0.57519345114.issue14156@psf.upfronthosting.co.za>
In-reply-to
Content
A related issue http://bugs.python.org/issue13824
"argparse.FileType opens a file and never closes it"

I proposed a FileContext class that returns a `partial(open, filename,...)' context object.  The issues of how to deal with stdin/out are similar.
History
Date User Action Args
2014-04-01 07:43:00paul.j3setrecipients: + paul.j3, pitrou, bethard, anacrolix, moritz, josh.r
2014-04-01 07:43:00paul.j3setmessageid: <1396338180.22.0.57519345114.issue14156@psf.upfronthosting.co.za>
2014-04-01 07:43:00paul.j3linkissue14156 messages
2014-04-01 07:42:59paul.j3create