Activity for Gernot Salzer

  • Gernot Salzer Gernot Salzer posted a comment on ticket #528

    Thanks a lot for the pointer to StackOverflow. Your answer to How to change one of the attribute reference to anchor in ruamel.yaml from 2020 seems to answer also my question. Still have to try it out, but the given example is exactly my case.

  • Gernot Salzer Gernot Salzer posted a comment on ticket #528

    Why I actually came here: I'm trying to find out how to construct a mapping, in Python that contains something like <<: *A or <<: [*A, *B]. So not reading the structure and updating it, but constructing it from scratch. Can you give any pointer to an example (like a test case) or other reference?

  • Gernot Salzer Gernot Salzer posted a comment on ticket #528

    You are right, I was misled by the fact that several YAML checkers and YAML-JSON converters accept multiple << keys as "Valid YAML" and merge the referenced dicts successively. Apparently the correct form to specify it is <<: [*A. *B]

  • Gernot Salzer Gernot Salzer posted a comment on ticket #528

    As I understand it, the issue seems to be that data = yaml.load(""" --- - &A a: 1 b: 2 - &B c: 3 d: 4 - <<: *A <<: *B """) gives an error "duplicate key", apparently because of << occurring twice. I understand that ruamel.yaml may not support it, but this is valid yaml, and << is not a normal key, but an operator.

  • Gernot Salzer Gernot Salzer posted a comment on ticket #3

    Something went wrong with the attachment in the original post, and I didn't find a way to edit it, so once more the attachment.

  • Gernot Salzer Gernot Salzer created ticket #3

    Incompatibility import.sty and standalone.sty

  • Gernot Salzer Gernot Salzer posted a comment on ticket #132

    Version information: standalone.cls 2015/07/15 v1.2 Class to compile TeX sub-files...

  • Gernot Salzer Gernot Salzer created ticket #132

    problem with path name when decorating with text along path

1
MongoDB Logo MongoDB