call site 0 for execnet.Channel.send
c-extension/greenlet/test_remote.py - line 58
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
   def test_rgreenlet():
       gw = py.execnet.PopenGateway()
       bunch = RGreenletBunch(gw)
       g = bunch.greenlet('''
           x = greenlet.getcurrent().parent.switch(42)
           y = greenlet.getcurrent().parent.switch(x+1)
           greenlet.getcurrent().parent.switch(y+2)
           import os
           greenlet.getcurrent().parent.switch(os.getpid())
       ''')
->     result = g.switch()
       assert result == 42
       result = g.switch(102)
       assert result == 103
       result = g.switch(-93)
       assert result == -91
       import os
       result = g.switch()
       assert result != os.getpid()
c-extension/greenlet/test_remote.py - line 39
38
39
40
41
   def switch(self, *args):
->     self.channel.send((id(self), self.code, args))
       self.code = None     # only send over the code the first time
       return self.channel.receive()