Author tzickel
Recipients tzickel
Date 2020-03-27.07:45:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585295142.15.0.400379676659.issue40085@roundup.psfhosted.org>
In-reply-to
Content
I converted some code from python to c-api and was surprised that a code stopped working.

Basically the "c" parsing option allows for 1 char bytes or bytearray inputs and converts them to a C char.

But just as indexing a bytes array returns an int, so should this option support it. i.e. b't'[0] = 116

Not sure if it should limit between 0 to 255 or -128 to 127.
History
Date User Action Args
2020-03-27 07:45:42tzickelsetrecipients: + tzickel
2020-03-27 07:45:42tzickelsetmessageid: <1585295142.15.0.400379676659.issue40085@roundup.psfhosted.org>
2020-03-27 07:45:42tzickellinkissue40085 messages
2020-03-27 07:45:41tzickelcreate