[pypy-issue] [issue1116] AttributeError: 'GzipFile' object has no attribute 'fileobj' with Django

bdk tracker at bugs.pypy.org
Sun Feb 10 00:38:37 CET 2013


bdk <bdkearns at gmail.com> added the comment:

the distinction between fileobj and myfileobj is important -- we only want to call 
close if gzip opened the fileobj itself, not if it was passed in, so that 'fix' 
isn't correct. the one arigo applied does fix the tracebacks, marking resolved.

----------
status: testing -> resolved

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1116>
________________________________________


More information about the pypy-issue mailing list