New submission from Kevin Thibedeau <kevi...@yahoo.com>:

The isblank() function defined in curses.ascii is incorrect and doesn't match 
the output from C's isblank() from ctype.h

Incorrect definition:
  def isblank(c): return _ctoi(c) in (8,32)

Should be:
  def isblank(c): return _ctoi(c) in (9,32)

This most likely affects all versions of Python, not just 2.7.

----------
components: Library (Lib)
messages: 115544
nosy: kevinpt
priority: normal
severity: normal
status: open
title: curses.isblank function doesn't match ctype.h
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9770>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to