mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Simple Python 3 compatibility changes
Summary: Changes that move towards python 3 compatibility that are easy to review without much thought Test Plan: The tests Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2873
This commit is contained in:
@@ -38,8 +38,8 @@ class Sandbox(object):
|
||||
|
||||
def __init__(self):
|
||||
self._functions = {}
|
||||
self._external_input = os.fdopen(3, "r", 64*1024)
|
||||
self._external_output = os.fdopen(4, "w", 64*1024)
|
||||
self._external_input = os.fdopen(3, "rb", 64*1024)
|
||||
self._external_output = os.fdopen(4, "wb", 64*1024)
|
||||
|
||||
def _send_to_js(self, msgCode, msgBody):
|
||||
# (Note that marshal version 2 is the default; we specify it explicitly for clarity. The
|
||||
|
||||
Reference in New Issue
Block a user