Message86173
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. |
|
| Date |
User |
Action |
Args |
| 2009-04-19 15:26:39 | eric.smith | set | recipients:
+ eric.smith, mark.dickinson |
| 2009-04-19 15:26:39 | eric.smith | set | messageid: <[email protected]> |
| 2009-04-19 15:26:38 | eric.smith | link | issue5793 messages |
| 2009-04-19 15:26:37 | eric.smith | create | |
|