Message329515
Converting to unsigned int can unnecessary widen the value or truncate higher bits. On other side, testing "0 <= (c)" can emit a compiler warning if c is unsigned.
Maybe test "Py_CHARMASK(c) == (c)"? |
|
Date |
User |
Action |
Args |
2018-11-09 13:50:06 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, izbyshev, miss-islington |
2018-11-09 13:50:06 | serhiy.storchaka | set | messageid: <1541771406.13.0.788709270274.issue35194@psf.upfronthosting.co.za> |
2018-11-09 13:50:06 | serhiy.storchaka | link | issue35194 messages |
2018-11-09 13:50:06 | serhiy.storchaka | create | |
|