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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, vstinner
Date 2009-01-07.12:03:28
SpamBayes Score 0.10329495
Marked as misclassified No
Message-id <1231329809.26.0.384916212438.issue4862@psf.upfronthosting.co.za>
In-reply-to
Content
> The problem is maybe that TextIOWrapper._pack_cookie() 
> can create a cookie=0

But only when position==0.
And in this case, at the beginning of the stream, it makes sense to
reset everything to its initial value: zero for the various counts, and
call decoder.reset()
History
Date User Action Args
2009-01-07 12:03:29amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, vstinner
2009-01-07 12:03:29amaury.forgeotdarcsetmessageid: <1231329809.26.0.384916212438.issue4862@psf.upfronthosting.co.za>
2009-01-07 12:03:28amaury.forgeotdarclinkissue4862 messages
2009-01-07 12:03:28amaury.forgeotdarccreate