site-packages/pkg_resources/_vendor/packaging/version.py:141: ResourceWarning: unclosed file <_io.BufferedRandom name=5>
After even more testing (half my day!)...
My app needed an `add_finished_callback` to close any `webob.compat.cgi_FieldStorage` objects in forms.
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/b87e949c-62f7-43b9-a609-d78bd8ea6015%40googlegroups.com.
If you're opening files you should use the context manager - for example:with request.POST['file'] as field:data = field.file.read()