diff --git a/mitogen/core.py b/mitogen/core.py index 4dd44925..5deac358 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -3860,7 +3860,7 @@ class ExternalContext(object): else: core_src_fd = self.config.get('core_src_fd', 101) if core_src_fd: - fp = os.fdopen(core_src_fd, 'rb', 1) + fp = os.fdopen(core_src_fd, 'rb', 0) try: core_src = fp.read() # Strip "ExternalContext.main()" call from last line.