mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Use system default buffering on Python 2
This commit is contained in:
@@ -142,6 +142,9 @@ class _CompiledSubprocess(object):
|
|||||||
args,
|
args,
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=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={}):
|
def run(self, evaluator, function, args=(), kwargs={}):
|
||||||
|
|||||||
Reference in New Issue
Block a user