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 eric.smith
Recipients eric.smith, mark.dickinson
Date 2009-04-19.15:26:37
SpamBayes Score 0.000361514
Marked as misclassified No
Message-id <>
I concur. I've also been bitten by forgetting Py_CHARMASK, so a single
version that took this into account (and was locale-unaware) would be

In private mail I'd mentioned that if these are functions, they should
take int. But I now think that's incorrect, and they should take char or
unsigned char. I think the standard C functions take int because they
also allow EOF. I think the Py_ versions should allow only characters
and not allow EOF. Py_CHARMASK already enforces this, anyway, with
likely undefined results.
Date User Action Args
2009-04-19 15:26:39eric.smithsetrecipients: + eric.smith, mark.dickinson
2009-04-19 15:26:39eric.smithsetmessageid: <>
2009-04-19 15:26:38eric.smithlinkissue5793 messages
2009-04-19 15:26:37eric.smithcreate