Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59406a9 commit 0983274Copy full SHA for 0983274
4 files changed
Lib/test/test_unicode.py
@@ -424,6 +424,7 @@ def test_isidentifier(self):
424
425
def test_isprintable(self):
426
self.assertTrue("".isprintable())
427
+ self.assertTrue(" ".isprintable())
428
self.assertTrue("abcdefg".isprintable())
429
self.assertFalse("abcdefg\n".isprintable())
430
# some defined Unicode character
Misc/NEWS
@@ -12,6 +12,8 @@ What's New in Python 3.1 alpha 2?
12
Core and Builtins
13
-----------------
14
15
+- Issue #5126: str.isprintable() returned False for space characters.
16
+
17
- Issue #4688: Add a heuristic so that tuples and dicts containing only
18
untrackable objects are not tracked by the garbage collector. This can
19
reduce the size of collections and therefore the garbage collection overhead
0 commit comments