Files
meta-openembedded/meta-python/recipes-devtools/python
Leon Anavi 63fd61d98b python3-configargparse: Upgrade 1.10.1 -> 1.10.2
Upgrade to release 1.10.2:

Fixes a regression in 1.10.0 and 1.10.1, and a bug in how
TomlConfigParser reads section names.

- None as a command line arg works again.
  parser.parse_args(['--foo', None]) raised TypeError: object of
  type 'NoneType' has no len() in 1.10.0 and 1.10.1. It gives
  foo=None again, as 1.9.0 and plain argparse do. The same goes for
  0 and False.
- A quoted part of a TOML section name can now hold a dot when it
  is in single quotes or comes after a space (#370).
  TomlConfigParser(["tool.'a.b'"]) and TomlConfigParser(['tool .
  "a.b"']) now read the table [tool."a.b"]. Before, both names were
  split at the dot inside the quotes, so that table's settings were
  silently not read (tool."a.b" already worked). Writing a config
  file with such a section name now writes [tool."a.b"] too.

With that fix, the quoted parts of a section name follow TOML's rules
more closely:

- Backslash escapes are read in a double-quoted part and left as
  they are in a single-quoted part.
- Spaces inside double quotes are kept. tool." a " used to be read
  as tool.a.
- A quote character in the middle of an unquoted part, which isn't
  valid TOML, now starts a quoted part, so tool.it's.x is no longer
  split at the second dot. Write it as tool."it's".x, which works
  in earlier versions too.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-20 09:35:26 -08:00
..
2026-08-04 10:47:40 -07:00
2026-10-20 07:51:42 -07:00
2026-09-20 23:23:59 -07:00
2026-09-11 22:47:20 -07:00