Right now every ScalarNode value is converted to a python str type on loading, and they all need to be of str type before being serialized to YAML again to preserve the document structure.
It should be possible to safely parse some ScalarNode patterns to int and maybe float, so they can be used in python that way.
Right now every ScalarNode value is converted to a python str type on loading, and they all need to be of str type before being serialized to YAML again to preserve the document structure.
It should be possible to safely parse some ScalarNode patterns to int and maybe float, so they can be used in python that way.