summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pyparsing: upgrade 3.1.1 -> 3.1.2Wang Mingyu2024-04-161-0/+30
Changelog: =========== - Added 'ieee_float' expression to 'pyparsing.common', which parses float values, plus "NaN", "Inf", "Infinity". - Updated pep8 synonym wrappers for better type checking compatibility. - Fixed empty error message bug. This _should_ return pyparsing's exception messages to a former, more helpful form. If you have code that parses the exception messages returned by pyparsing, this may require some code changes. - Added unit tests to test for exception message contents, with enhancement to 'pyparsing.testing.assertRaisesParseException' to accept an expected exception message. - Updated example 'select_parser.py' to use PEP8 names and added Groups for better retrieval of parsed values from multiple SELECT clauses. - Added example 'email_address_parser.py' - Added example 'directx_x_file_parser.py' to parse DirectX template definitions, and generate a Pyparsing parser from a template to parse .x files. - Some code refactoring to reduce code nesting - All internal string expressions using '%' string interpolation and 'str.format()' converted to f-strings. (From OE-Core rev: dc067714b407577a7984a413d07282bea1a2fd72) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>