Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid copying FieldStorage if possible. (#30) | Benjamin Peterson | 2019-08-29 | 1 | -5/+8 |
| | | | | | On Python 3, cgi.FieldStorage has a __del__ method that closes the underlying file [1]. This means that if the copy made from UnicodeMultiDict._decode_value is garbage collected, the file underlying the original FieldStorage will be closed! Fix this by not copying FieldStorage if it is not required by decode_keys=False. I cannot think of a nice way to fix this problem if decode_keys=True. [1] https://github.com/python/cpython/commit/f79126f373a9d5c9b584a8db736fe490fcbfa77a | ||||
* | Switch from nose to pytestpytest | Marc Abramowitz | 2016-03-08 | 1 | -4/+4 |
| | |||||
* | tox.ini: Measure test coveragetox_coverage | Marc Abramowitz | 2016-03-07 | 1 | -0/+162 |