Skip to content

Commit

Permalink
Add comment about #3434 before closing
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Bach committed Apr 7, 2017
1 parent ba7cc0f commit 8da5fa5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kalite/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
# benjaoming: We need to somehow get rid of this as it's discouraged
# http://stackoverflow.com/questions/3828723/why-we-need-sys-setdefaultencodingutf-8-in-a-py-script
# http://ziade.org/2008/01/08/syssetdefaultencoding-is-evil/

# benjaoming: If we manage to establish that our usage of JSON files has
# dropped enough, we can get rid of this and stop worrying about memory
# issues.

# See:
# https://github.com/learningequality/ka-lite/issues/3434
try:
DEFAULT_ENCODING = DEFAULT_ENCODING
except NameError:
Expand Down

0 comments on commit 8da5fa5

Please sign in to comment.