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 bup
Recipients bup
Date 2019-10-24.10:31:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571913084.38.0.724512448926.issue38579@roundup.psfhosted.org>
In-reply-to
Content
Unicode characters with code points above u+ffff can only be added to the end of an array, and only from a call to the "fromunicode" method. This is because "fromunicode" uses a different procedure to modify the array compared to __new__, __setitem__, append, and extend array methods, all of which eventually call u_setitem routine, which calls PyArg_Parse with a format spec of "u#". The error occurs in that call, from what at first glance appears to be an incorrect length determination for unicode objects of the 4 byte kind.
History
Date User Action Args
2019-10-24 10:31:24bupsetrecipients: + bup
2019-10-24 10:31:24bupsetmessageid: <1571913084.38.0.724512448926.issue38579@roundup.psfhosted.org>
2019-10-24 10:31:24buplinkissue38579 messages
2019-10-24 10:31:23bupcreate