[New-bugs-announce] [issue15800] Closing of sys.std* files in gzip test.
Serhiy Storchaka
report at bugs.python.org
Tue Aug 28 22:52:06 CEST 2012
New submission from Serhiy Storchaka:
When porting gzip module from Python 2 to Python 3, binary files sys.std(in|out) was replaced by sys.std(in|out).buffer in gzip module internal testing code (when gzip used as executable). But in one place the replacement was skipped. As the result the condition now always true and standard files are closed after use.
Here is a patch that fixes this error.
----------
components: Library (Lib)
files: gzip_main_close.patch
keywords: patch
messages: 169296
nosy: pitrou, storchaka
priority: low
severity: normal
status: open
title: Closing of sys.std* files in gzip test.
type: resource usage
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file27035/gzip_main_close.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15800>
_______________________________________
More information about the New-bugs-announce
mailing list