capnproto / pycapnp

Cap'n Proto serialization/RPC system - Python bindings
BSD 2-Clause "Simplified" License
458 stars 125 forks source link

Support `_DynamicListReader` in `_setDynamicField` #347

Closed LasseBlaauwbroek closed 8 months ago

LasseBlaauwbroek commented 8 months ago

See the test for an explanation.

Note that I'm not sure what the purpose of _setDynamicFieldWithField and _setDynamicFieldStatic is. It does not appear to be used. I've kept them for now (they are a public API), but perhaps this can be removed.