comparison tests/test-batching.py.out @ 33765:e2fc2122029c

wireproto: remove support for local results in @batchable (API) @peer.batchable decorated generator functions have two forms: yield value, None and yield args, future yield value These forms have been present since the decorator was introduced. There are currently no in-repo consumers of the first form. So this commit removes support for it. Note that remoteiterbatcher.submit() asserts the 2nd form. And b6e71f8af5b8 removed the last user of remotebatcher, forcing everyone to remoteiterbatcher. So anything relying on this in the wild would have been broken since b6e71f8af5b8. .. api:: @peer.batchable can no longer emit local values Differential Revision: https://phab.mercurial-scm.org/D318
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 09 Aug 2017 22:52:05 -0700
parents 84094c0d2724
children 4c706037adef
comparison
equal deleted inserted replaced
33764:297d1b70685c 33765:e2fc2122029c
2 == Local 2 == Local
3 Ready. 3 Ready.
4 Un and Deux 4 Un and Deux
5 Eins und Zwei 5 Eins und Zwei
6 One and Two 6 One and Two
7 Nope
8 Eins und Zwei 7 Eins und Zwei
9 Hello, John Smith 8 Hello, John Smith
10 Ready. 9 Ready.
11 Uno und Due 10 Uno und Due
12 11
23 REQ: greet?name=Kpio!Tnjui 22 REQ: greet?name=Kpio!Tnjui
24 -> Ifmmp-!Kpio!Tnjui 23 -> Ifmmp-!Kpio!Tnjui
25 REQ: batch?cmds=bar:b=Vop,a=Evf 24 REQ: batch?cmds=bar:b=Vop,a=Evf
26 -> Vop!voe!Evf 25 -> Vop!voe!Evf
27 One and Two 26 One and Two
28 Nope
29 Eins und Zwei 27 Eins und Zwei
30 Hello, John Smith 28 Hello, John Smith
31 Ready. 29 Ready.
32 Uno und Due 30 Uno und Due