Staging
v0.8.1
https://github.com/python/cpython
Revision a8de08daefd6a10f952f57f9969e393220f890c1 authored by Neal Norwitz on 26 March 2006, 04:10:42 UTC, committed by Neal Norwitz on 26 March 2006, 04:10:42 UTC
Handle sys.getfilesystemencoding() returning None.
ascii seems like the safest bet, it should exist.  I wonder if utf-8
would be a better choice?  This should get test_fileinput passing on OpenBSD.
1 parent d9578f9
History
Tip revision: a8de08daefd6a10f952f57f9969e393220f890c1 authored by Neal Norwitz on 26 March 2006, 04:10:42 UTC
Backport:
Tip revision: a8de08d
File Mode Size
acceler.c -rw-r--r-- 2.8 KB
bitset.c -rw-r--r-- 949 bytes
firstsets.c -rw-r--r-- 2.2 KB
grammar.c -rw-r--r-- 5.1 KB
grammar.mak -rw-r--r-- 1.3 KB
grammar1.c -rw-r--r-- 1.0 KB
intrcheck.c -rw-r--r-- 2.4 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.2 KB
myreadline.c -rw-r--r-- 5.4 KB
node.c -rw-r--r-- 3.5 KB
parser.c -rw-r--r-- 8.9 KB
parser.h -rw-r--r-- 1000 bytes
parsetok.c -rw-r--r-- 5.0 KB
pgen.c -rw-r--r-- 14.2 KB
pgenmain.c -rw-r--r-- 3.2 KB
printgrammar.c -rw-r--r-- 2.4 KB
tokenizer.c -rw-r--r-- 32.4 KB
tokenizer.h -rw-r--r-- 2.3 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top