File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -78,20 +78,6 @@ def sendexec(io, *sources):
78
78
io .write ((repr (source ) + "\n " ).encode ("utf-8" ))
79
79
80
80
81
- def fix_pid_for_jython_popen (gw ):
82
- """
83
- fix for jython 2.5.1
84
- """
85
- spec , io = gw .spec , gw ._io
86
- if spec .popen and not spec .via :
87
- # XXX: handle the case of remote being jython
88
- # and not having the popen pid
89
- if io .popen .pid is None :
90
- io .popen .pid = gw .remote_exec (
91
- "import os; channel.send(os.getpid())"
92
- ).receive ()
93
-
94
-
95
81
def bootstrap (io , spec ):
96
82
if spec .popen :
97
83
if spec .via or spec .python :
@@ -105,5 +91,4 @@ def bootstrap(io, spec):
105
91
else :
106
92
raise ValueError ("unknown gateway type, can't bootstrap" )
107
93
gw = Gateway (io , spec )
108
- fix_pid_for_jython_popen (gw )
109
94
return gw
You can’t perform that action at this time.
0 commit comments