Whole file
pavlov99/json-rpc
The author described this change as “cover jsonrpc1, fix _id error”. It counts as a record because the check below fails on the code as it stood at de6483a94 and passes on bd9d408fd, with nothing else changed between the two runs.
Projectpavlov99/json-rpc
Fix saved2013-11-09
Sharing licenceMIT · LICENSE.txt
Change size+1 −1
What the code was meant to do, written into the code itself as a save note
cover jsonrpc1, fix _id error
The change
| 141 | 141 | ||
| 142 | 142 | @property | |
| 143 | 143 | def _id(self): | |
| 144 | - | return self._data.get("_id") | |
| 144 | + | return self._data.get("id") | |
| 145 | 145 | ||
| 146 | 146 | @_id.setter | |
| 147 | 147 | def _id(self, value): |
The check that tells the two apart
fail→pass·jsonrpc/tests/test_jsonrpc1.py::TestJSONRPC10Response::test_validation_id
Check file jsonrpc/tests/test_jsonrpc1.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before itde6483a9448bdf9fc8790be094037ddfd939a0cb
Broken version dated2013-11-09
Modulejsonrpc.jsonrpc1
Units changedJSONRPC10Response
Fingerprint2681512d02306568
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.
Other bugs found in pavlov99/json-rpc
- 2014-05-14Dispatcher