summaryrefslogtreecommitdiff
path: root/tests/Krepr
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-05-01 22:35:21 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-05-01 23:03:37 +0200
commitda40c014398f329b324a2eb9de062344e773dc74 (patch)
tree2a328485efab35ad6571191343f6ff3e4ab44f17 /tests/Krepr
parentf8a8f84bf6c75e48738b0a9ee4a22fbae7bbdc87 (diff)
Force encoding to UTF-8 by default on Python 3
Enough people have run into exceptions due to running in the C locale that it seems worthwhile. Add a new 'encoding' parameter to Kconfig.__init__() that specifies the encoding to use and make it default to "utf-8". Passing None gives the old behavior of using the encoding specified in the environment. Related PEP: https://www.python.org/dev/peps/pep-0538/
Diffstat (limited to 'tests/Krepr')
0 files changed, 0 insertions, 0 deletions