]> granicus.if.org Git - python/commit
Issue #18394: Explicitly close the file object cgi.FieldStorage
authorBrett Cannon <brett@python.org>
Fri, 23 Aug 2013 19:15:48 +0000 (15:15 -0400)
committerBrett Cannon <brett@python.org>
Fri, 23 Aug 2013 19:15:48 +0000 (15:15 -0400)
commitf79126f373a9d5c9b584a8db736fe490fcbfa77a
tree18a06f40da038953f80ccb86658f8d361924b1b2
parent9c7eb5557022e0682fbfc74e524cae8a9a2bc702
Issue #18394: Explicitly close the file object cgi.FieldStorage
caches.

Eliminates the ResoureWarning raised during testing.

Patch also independently written by Vajrasky Kok.
Lib/cgi.py
Misc/NEWS