]> granicus.if.org Git - python/commit
Try to handle sys.getfilesystemencoding() returning None.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 26 Mar 2006 03:11:57 +0000 (03:11 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 26 Mar 2006 03:11:57 +0000 (03:11 +0000)
commit2c85d826d8b95bb3e1141b5084bd0a575803d664
tree8aafdfb6cb6992ca44c9871eb4b23ae1b473f4b0
parent334b5b20f284ff4b44cfe3a035e1654b23390028
Try to handle sys.getfilesystemencoding() returning None.
ascii seems like the safest bet that it will exist.  I wonder if utf-8
would be a better choice?  This should get test_fileinput passing on OpenBSD.
Lib/test/test_fileinput.py