This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients pitrou, serhiy.storchaka
Date 2012-08-28.20:52:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346187126.27.0.0616133533378.issue15800@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-08-28 20:52:06serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou
2012-08-28 20:52:06serhiy.storchakasetmessageid: <1346187126.27.0.0616133533378.issue15800@psf.upfronthosting.co.za>
2012-08-28 20:52:05serhiy.storchakalinkissue15800 messages
2012-08-28 20:52:05serhiy.storchakacreate