[New-bugs-announce] [issue20289] Make cgi.FieldStorage a context manager

Brett Cannon report at bugs.python.org
Fri Jan 17 15:47:25 CET 2014


New submission from Brett Cannon:

It has a file attribute which contains a file, so making it so it can be closed faster than cgi.FieldStorage.__del__ would be good.

----------
components: Library (Lib)
messages: 208338
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: Make cgi.FieldStorage a context manager
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20289>
_______________________________________


More information about the New-bugs-announce mailing list