aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2021-04-08 15:09:46 -0700
committerGravatar GitHub <[email protected]>2021-04-08 15:09:46 -0700
commit93f99fb909a60b2bcc12c4967adf767c0a82c804 (patch)
tree3df6941de7dd075c1a44c2a84d1f6242f8ad60fd /config
parentBump urllib3 from 1.26.3 to 1.26.4 (diff)
parentClarify documentation of None return code (diff)
Merge PR #100 - avoid decoding of invalid Unicode output
Use PYTHONIOENCODING to enable utf-8 stdout for the nsjail pipe, and handle the potential case where this is bypassable.
Diffstat (limited to 'config')
-rw-r--r--config/snekbox.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/snekbox.cfg b/config/snekbox.cfg
index 257b5ca..73e36e1 100644
--- a/config/snekbox.cfg
+++ b/config/snekbox.cfg
@@ -15,6 +15,7 @@ envar: "MKL_NUM_THREADS=1"
envar: "VECLIB_MAXIMUM_THREADS=1"
envar: "NUMEXPR_NUM_THREADS=1"
envar: "PYTHONPATH=/snekbox/user_base/lib/python3.9/site-packages"
+envar: "PYTHONIOENCODING=utf-8:strict"
keep_caps: false