mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-19 14:59:41 +08:00
Revert "Fix for Python 2 on Windows, see #1037."
This reverts commit b38d31b99d.
This commit is contained in:
@@ -47,6 +47,5 @@ Simon Ruggier (@sruggier)
|
|||||||
Robin Roth (@robinro)
|
Robin Roth (@robinro)
|
||||||
Malte Plath (@langsamer)
|
Malte Plath (@langsamer)
|
||||||
Anton Zub (@zabulazza)
|
Anton Zub (@zabulazza)
|
||||||
Tobias Rzepka (@TobiasRzepka)
|
|
||||||
|
|
||||||
Note: (@user) means a github user name.
|
Note: (@user) means a github user name.
|
||||||
|
|||||||
@@ -138,13 +138,11 @@ class _CompiledSubprocess(object):
|
|||||||
_MAIN_PATH,
|
_MAIN_PATH,
|
||||||
os.path.dirname(os.path.dirname(parso_path))
|
os.path.dirname(os.path.dirname(parso_path))
|
||||||
)
|
)
|
||||||
universal_newlines = not is_py3
|
|
||||||
return subprocess.Popen(
|
return subprocess.Popen(
|
||||||
args,
|
args,
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
# stderr=subprocess.PIPE
|
# stderr=subprocess.PIPE
|
||||||
universal_newlines=universal_newlines
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def run(self, evaluator, function, args=(), kwargs={}):
|
def run(self, evaluator, function, args=(), kwargs={}):
|
||||||
|
|||||||
Reference in New Issue
Block a user