cache Python float constants

--HG--
extra : amend_source : a382ac055ce79771e0457bed2e3b8d253581a54f
extend test
use plain constants for Python bool values instead of coerced C ints
fix compiler crash on unitialised result_code and fix coercion of float/bool back to C values