pyyaml icon indicating copy to clipboard operation
pyyaml copied to clipboard

Fix typo in emitter attr name

Open nitzmahone opened this issue 1 year ago • 1 comments

This change was originally directly merged to a pending 6.1 release branch, but in its current form, it's technically a breaking change, since the renamed attribute is "public" on the Emitter mixin (and thus on all Dumpers that use that mixin). The fix is fine, but should at least temporarily preserve a compatibility property for the old name that fires DeprecationWarning for some time to preserve backward compatibility for existing consumers.

nitzmahone avatar Aug 29 '23 15:08 nitzmahone

(added shim property for backwards compatibility with DeprecationWarning on use)

nitzmahone avatar Aug 29 '23 22:08 nitzmahone