Author akira
Recipients akira, serhiy.storchaka, twouters
Date 2016-06-30.08:08:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is an overlapping issue from 2010: "curses.ascii.isblank() function is broken. It confuses backspace (BS 0x08) with tab (0x09)" 

Your patch fixes it too (it should be closed). Note: the patch does not pass tests from Lib/test/ attached to issue9770 (even if the code: `if char_class_name in ('cntrl', 'punct') test = unittest.expectedFailure(test)` is removed) e.g., iscntrl(-1) should be False but it returns True:

  $ ./python
  >>> import curses.ascii
  >>> curses.ascii.iscntrl(-1) #XXX expected False

If we ignore negative ints then isblank, ispunct, iscntrl provided in the curses_ascii.patch are ok.
Date User Action Args
2016-06-30 08:08:44akirasetrecipients: + akira, twouters, serhiy.storchaka
2016-06-30 08:08:44akirasetmessageid: <>
2016-06-30 08:08:44akiralinkissue27079 messages
2016-06-30 08:08:43akiracreate