tcalmant / jsonrpclib

A Python (2 & 3) JSON-RPC over HTTP that mirrors the syntax of xmlrpclib (aka jsonrpclib-pelix)
https://jsonrpclib-pelix.readthedocs.io/
Apache License 2.0
53 stars 24 forks source link

jsonrpc: Don't proxy "special" methods #33

Closed mschmitzer closed 7 years ago

mschmitzer commented 7 years ago

As discussed in #32: Refuse to provide method proxies for double-underscore methods.

mschmitzer commented 7 years ago

I've added a test for this in a likely-looking place, but I'm not sure it's the right place.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.03%) to 84.022% when pulling c257510dfd26d3518751af3f4bea827db5ba38e0 on solute:dont-proxy-dunder-methods into 5f53fcdb005ee0ec3780afa8d1c16063b4854aea on tcalmant:master.

tcalmant commented 7 years ago

Seems good to me, thanks for your contribution 👍 Fixes #32