Message266020
Most curses.ascii predicates corresponds C functions declared in <ctype.h>. But there are some differences:
1. isblank() returns True for space and backspace instead of space and tab.
2. ispunct() returns True for non-ASCII and control characters.
3. iscntrl() returns False for '\x7f'. Note that there is different function isctrl().
These differences look as bugs. Proposed patch fixes them and adds tests for all curses.ascii functions. |
|
Date |
User |
Action |
Args |
2016-05-21 20:10:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, twouters |
2016-05-21 20:09:59 | serhiy.storchaka | set | messageid: <1463861399.98.0.689088484472.issue27079@psf.upfronthosting.co.za> |
2016-05-21 20:09:59 | serhiy.storchaka | link | issue27079 messages |
2016-05-21 20:09:59 | serhiy.storchaka | create | |
|