[New-bugs-announce] [issue5126] Space character returns false from isprintable() method

dlfjessup report at bugs.python.org
Sun Feb 1 22:02:09 CET 2009


New submission from dlfjessup <dljessup at gmail.com>:

I am running IDLE on Windows XP.  The version information when IDLE
boots is:

Python 3.0 (r30:67507, Dec  3 2008, 20:14:27) [MSC v.1500 32 bit
(Intel)] on win32

I ran the following test case:

    >>> ' '.isprintable()
    False

However, according to
http://docs.python.org/3.0/library/stdtypes.htm#str.isprintable, "...the
ASCII space (0x20) ... is considered printable."

This seems pretty broken to me.

----------
messages: 80919
nosy: dlfjessup
severity: normal
status: open
title: Space character returns false from isprintable() method
type: behavior
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5126>
_______________________________________


More information about the New-bugs-announce mailing list