fix wasteful to_python()
calls checking for undefined
#5521
This job was skipped
Loading
to_python()
calls checking for undefined
#5521