[issue5126] Space character returns false from isprintable() method

David W. Lambert report at bugs.python.org
Sun Feb 1 22:46:45 CET 2009


David W. Lambert <lambertdw at corning.com> added the comment:

Python 3.0rc1+ (py3k, Nov  5 2008, 14:44:46) [GCC 3.4.6 20060404 (Red 
Hat 3.4.6-3)] on linux2 Type "help", "copyright", "credits" or "license" 
for more information.
>>> ' '.isprintable()  # probably no surprise:
False
>>> import sys
>>> sys.getdefaultencoding()
'utf-8'

----------
nosy: +LambertDW

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


More information about the Python-bugs-list mailing list