Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0, 17, 24]: 2023-05-06 - rewrite of ``CommentedMap.insert()``. If you have a merge key in the YAML document for the mapping you insert to, the position value should be the one as you look at the YAML input. This fixes issue 453 where other keys of a merged in mapping would show up after an insert (reported by `Alex Miller <https://sourceforge.net/u/millerdevel/profile/>`__). It also fixes a call to `.insert()` resulting into the merge key to move to be the first key if it wasn't already and it is also now possible to insert a key before a merge key (even if the fist key in the mapping). - fix (in the pure Python implementation including default) for issue 447. (reported by `Jack Cherng <https://sourceforge.net/u/jfcherng/profile/>`__, also brought up by brent on `StackOverflow <https://stackoverflow.com/q/40072485/1307905>`__) [0, 17, 23]: 2023-05-05 - fix 458, error on plain scalars starting with word longer than width. (reported by `Kyle Larose <https://sourceforge.net/u/klarose/profile/>`__) - fix for ``.update()`` no longer correctly handling keyword arguments (reported by John Lin on <StackOverflow `<https://stackoverflow.com/q/76089100/1307905>`__) - fix issue 454: high Unicode (emojis) in quoted strings always escaped (reported by `Michal Čihař <https://sourceforge.net/u/nijel/profile/>`__ based on a question on StackOverflow). - fix issue with emitter conservatively inserting extra backslashes in wrapped quoted strings (reported by thebenman on `StackOverflow <https://stackoverflow.com/q/75631454/1307905>`__)
- Loading branch information