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 Marcus.Gröber, ezio.melotti, lovelylain, serhiy.storchaka, vstinner
Date 2012-10-09.21:34:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349818462.74.0.210386023018.issue15278@psf.upfronthosting.co.za>
In-reply-to
Content
> This issue may be related or a duplicate of #11461.

Oh, yes, it is a duplicate. I totally forgot about it and made the work again.

> Only incremental decoder should return partial results. Other decoders are
> strict and (usually) stateless.

Yes, there is a incremental decoder.

> >>> decoder('\u20ac'.encode('utf8')[:2], 'strict')
> 
> UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 0-1:
> unexpected end of data

>>> codecs.utf_8_decode('\u20ac'.encode('utf8')[:2])
('', 0)
History
Date User Action Args
2012-10-09 21:34:22serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, lovelylain, Marcus.Gröber
2012-10-09 21:34:22serhiy.storchakasetmessageid: <1349818462.74.0.210386023018.issue15278@psf.upfronthosting.co.za>
2012-10-09 21:34:22serhiy.storchakalinkissue15278 messages
2012-10-09 21:34:22serhiy.storchakacreate