1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-12 02:55:29 +00:00
community.general/changelogs/fragments/12108-fix-xml-python2-string-isinstance.yml
RoboticInterface be9afb4800
xml: false positive python2 string type check bugfix (#12108)
* bugfixes:
  - xml: fix false positive type check failure for string values on Python 2
    hosts, where ``json_dict_bytes_to_unicode`` guarantees unicode output but
    ``isinstance(value, str)`` only matches byte strings.

* changelog fragment for xml false positive type check failure.

* Rename xml-python2-string-isinstance to 12108-fix-xml-python2-string-isinstance

* Rename 12108-fix-xml-python2-string-isinstance to 12108-fix-xml-python2-string-isinstance.yml

* Update changelogs/fragments/12108-fix-xml-python2-string-isinstance.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-28 21:52:24 +02:00

5 lines
369 B
YAML

bugfixes:
- xml - fix false positive type check failure for string values on Python 2
hosts, where ``json_dict_bytes_to_unicode`` guarantees unicode output but
``isinstance(value, str)`` only matches byte strings
(https://github.com/ansible-collections/community.general/issues/12107, https://github.com/ansible-collections/community.general/pull/12108).