mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Use system default buffering on Python 2
This commit is contained in:
@@ -142,6 +142,9 @@ class _CompiledSubprocess(object):
|
||||
args,
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
# Use system default buffering on Python 2 to improve performance
|
||||
# (this is already the case on Python 3).
|
||||
bufsize=-1
|
||||
)
|
||||
|
||||
def run(self, evaluator, function, args=(), kwargs={}):
|
||||
|
||||
Reference in New Issue
Block a user