New submission from Florent Xicluna:

It happens when POSTing a file for example.

When running the test suite:
./python.exe -m test test_cgi


Or with the script attached:
$ ./python test_fieldstorage.py 
test_fieldstorage.py:28: ResourceWarning: unclosed file <_io.BufferedRandom 
name=3>
  check('x' * 1010)           # ResourceWarning
test_fieldstorage.py:29: ResourceWarning: unclosed file <_io.BufferedRandom 
name=3>
  check('x' * (maxline - 1))  # ResourceWarning

----------
components: Library (Lib)
files: test_fieldstorage.py
messages: 192530
nosy: flox, orsenthil, serhiy.storchaka
priority: normal
severity: normal
status: open
title: cgi.FieldStorage triggers ResourceWarning sometimes
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30837/test_fieldstorage.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18394>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to