summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-08-21 17:50:19 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-08-21 17:50:19 +0200
commita3ebcf7603851375fb882717f1697c9813b262cf (patch)
tree919811658adf8c43973e2e2737a3e9365b1475fd /README.rst
parenta0f924806ef8d20caf7a91171b7e631a7d74d47a (diff)
downloadruamel.yaml-a3ebcf7603851375fb882717f1697c9813b262cf.tar.gz
fix issue #149: operated on ScalarFloat cannot be dumped.0.15.32
Thanks for reporting I "fixed" this by making the operators return a normal (bare) float, as the preservation is mostly there for round-trips without operations. Contrary to ScalarInt you cannot as easily preserve the style, and that needs a lot more testing, and probably much smarter code (i.e. 1.23e4 *= 10 should probably give 1.23e5 and not 12.3e4). *If this change makes things work again without your explicit convert to bare float, please **Close** this issue.*
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index a4ed52f..7cd8333 100644
--- a/README.rst
+++ b/README.rst
@@ -35,6 +35,11 @@ ChangeLog
.. should insert NEXT: at the beginning of line for next key
+0.15.32 (2017-08-21):
+ - allow setting ``yaml.default_flow_style = None`` (default: ``False``) for
+ for ``typ='rt'``.
+ - fix for issue 149: multiplications on ``ScalarFloat`` now return ``float``
+
0.15.31 (2017-08-15):
- fix Comment dumping