[BUG]: json.dumps
failed on object with new _pybind11_conduit_v1
method
#5377
Labels
triage
New bug, unverified
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
2.13.6
Problem description
A new
self._pybind11_conduit_v1_()
method that is added to all classes by default breaks the serialization of this object throughjson.dumps([object with _pybind11_conduit_v1], default=vars)
. I would like to clarify whether this is by mistake or intentional, considering also that this is a patch release. Thanks!The error:
Reproducible example code
Is this a regression? Put the last known working version here if it is.
2.13.5
The text was updated successfully, but these errors were encountered: