Skip to content
Snippets Groups Projects
  • Mike Pennisi's avatar
    1303ef0d
    Use "monkeyYaml" in all environments · 1303ef0d
    Mike Pennisi authored
    The "monkeyYaml" parser is intended to serve as a lightweight fallback
    to Python's standard YAML parser in contexts where the latter is not
    available. Any intentionally-simplified implementation will necessarily
    exhibit non-standard behavior for different input, so not all input
    accepted by the standard parser will be accepted by "monkeyYaml". If
    loaded exclusively in fallback situations, these edge cases can only be
    identified (and debugged) in the environments that require the fallback.
    This has allowed developers to unknowingly author tests that cause
    errors.
    
    Update the test runner to use "monkeyYaml" in all cases, ensuring more
    consistent behavior across contexts and precluding this class of
    regression.
    1303ef0d
    History
    Use "monkeyYaml" in all environments
    Mike Pennisi authored
    The "monkeyYaml" parser is intended to serve as a lightweight fallback
    to Python's standard YAML parser in contexts where the latter is not
    available. Any intentionally-simplified implementation will necessarily
    exhibit non-standard behavior for different input, so not all input
    accepted by the standard parser will be accepted by "monkeyYaml". If
    loaded exclusively in fallback situations, these edge cases can only be
    identified (and debugged) in the environments that require the fallback.
    This has allowed developers to unknowingly author tests that cause
    errors.
    
    Update the test runner to use "monkeyYaml" in all cases, ensuring more
    consistent behavior across contexts and precluding this class of
    regression.