Skip to content

Upgraded to pyparsing 3.0.9

  • Added some unit tests to cover some missing cases
  • Behavior modified in case of pyparsing 2.4.x and 3.0.x API changes
    • Fallback to 2.3.0 API used with version check, can be removed later
    • replaced operatorPrecedence with infixNotation as that alias has been removed
    • removed an unused import of operatorPrecedence
    • used indexed assignment instead of attribute assignment for toks.suffix as that was broken somewhere between 2.4.9 and 3.0.9
      • this alternate form is backwards-compatible to 2.3.0
  • Deleted unused block of parsing code for YYYY-MM-DD [HH:MM:SS], as this is already handled by another parser which preempts it

Merge request reports

Loading