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 malin
Recipients ezio.melotti, malin, vstinner, xiang.zhang
Date 2017-04-06.07:54:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491465272.5.0.211744546263.issue30003@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to fix this two years ago, here is the patch (not merged):
http://bugs.python.org/review/24117/diff/14803/Modules/cjkcodecs/_codecs_cn.c

But later, I thought it's a good opportunity to remove this codec, this serious bug indicates that almost no one is using it. But fixing will create a possibility that someone will using it in future.
So I suggest we don't fix it, just remove it or leave it as is.

hz is outdated, searching on internet almost no one talking about it.

> Or do you know other bugs?
It has another small bug in decoder, about state switch, but it's trivial, also fixed in the patch.
History
Date User Action Args
2017-04-06 07:54:32malinsetrecipients: + malin, vstinner, ezio.melotti, xiang.zhang
2017-04-06 07:54:32malinsetmessageid: <1491465272.5.0.211744546263.issue30003@psf.upfronthosting.co.za>
2017-04-06 07:54:32malinlinkissue30003 messages
2017-04-06 07:54:32malincreate