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.00036151402
Marked as misclassified No
Message-id <1240154799.14.0.997674478084.issue5793@psf.upfronthosting.co.za>
In-reply-to
Content
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
welcome.

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.
History
Date User Action Args
2009-04-19 15:26:39eric.smithsetrecipients: + eric.smith, mark.dickinson
2009-04-19 15:26:39eric.smithsetmessageid: <1240154799.14.0.997674478084.issue5793@psf.upfronthosting.co.za>
2009-04-19 15:26:38eric.smithlinkissue5793 messages
2009-04-19 15:26:37eric.smithcreate