openstacksdk/releasenotes/notes/fix-yaml-load-3e6bd852afe549b4.yaml
Monty Taylor 5834d5e7cf
Avoid globally modifying yaml library
The heat utils set up the yaml parser to always return unicode strings,
but are currently doing it in a way that infects all uses of the
library.

Make a subclass of the loader and run add_constructor on that so that
the new constructor is confined to the specific loader.

Change-Id: I49e97b5e2ae9b7862915ff83263718cf6cad32b8
Story: 2002040
2018-05-15 16:41:11 -05:00

6 lines
117 B
YAML

---
fixes:
- |
Fixed an issue where importing openstacksdk changed the behavior of
``yaml.load`` globally.