pyyaml icon indicating copy to clipboard operation
pyyaml copied to clipboard

fix dumping of empty YAMLObject on Python 3.11+

Open nitzmahone opened this issue 1 year ago • 0 comments

fixes #692

  • translate __getstate__() returning None to empty mapping (arguably wrong, but backward-compatibie)
  • adds constructor/representer tests to exercise this case

nitzmahone avatar Aug 23 '23 19:08 nitzmahone