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 nadeem.vawda
Recipients gregory.p.smith, jld, nadeem.vawda, python-dev
Date 2012-01-18.07:55:58
SpamBayes Score 6.1641525e-11
Marked as misclassified No
Message-id <1326873359.65.0.118956465184.issue13781@psf.upfronthosting.co.za>
In-reply-to
Content
> As far as fixing this for 2.7 goes, i don't like the _sound_ of it
> because it is gross... But i'm actually okay with having special case
> code in the gzip module that rejects '<fdopen>' as an actual filename
> and uses '' instead in that case.  It is VERY unlikely that anyone ever
> intentionally wants to use that as a filename.

I agree - it sounds ugly, but pragmatically it seems like the best option.
Given that the output will still be a valid gzip file even in this rare
case, it seems unlikely to cause trouble even then.
History
Date User Action Args
2012-01-18 07:55:59nadeem.vawdasetrecipients: + nadeem.vawda, gregory.p.smith, python-dev, jld
2012-01-18 07:55:59nadeem.vawdasetmessageid: <1326873359.65.0.118956465184.issue13781@psf.upfronthosting.co.za>
2012-01-18 07:55:58nadeem.vawdalinkissue13781 messages
2012-01-18 07:55:58nadeem.vawdacreate