Source

pyyaml / lib / yaml / constructor.py

Diff from to

File lib/yaml/constructor.py

                 base *= 60
             return sign*value
         else:
-            return float(value)
+            return sign*float(value)
 
     def construct_yaml_binary(self, node):
         value = self.construct_scalar(node)