Commit d6346f5
committed
core: handle both "async" and "async_" in remote calls
Python 3.7 made "async" a reserved keyword: this causes a syntax
error when passing "async" as a named parameter in remote procedure
calls. Make ClientBase.__call__() understand both "async" and
"async_" so we don't break our binary interface with older clients.
Fixes: 0rpc#239
Signed-off-by: Cedric Hombourger <[email protected]>1 parent 3d0a6ee commit d6346f5
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
270 | 273 | | |
271 | 274 | | |
272 | 275 | | |
| |||
0 commit comments