Python utility library
  • Python 98.5%
  • Makefile 1.3%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann b4f053c892
stree: Switch StringTree from Mapping to MutableMapping
StringTree declares itself as a Mapping but implements __setitem__
which returns StringTree — neither correct for Mapping nor for
MutableMapping. This commit changes the base class to MutableMapping
and fixes the signatures to match the ABC contract: __setitem__ now
returns None, and __delitem__ is implemented by delegating to the
underlying OrderedDict.

The __setitem__ return value change is an API break for callers that
rely on its StringTree return. Those callers should use add() instead.
This is acceptable because the previous type signature was silently
incorrect — it violated the Mapping abstract base class contract.

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL with pi.dev v0.80.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-12 23:10:12 +00:00
.github/workflows ci.yaml: enable-email-notifications: true 2026-06-08 14:55:11 +02:00
bin Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
conf Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
make stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
scripts Add missing async keywords to jwutils.Cmd.run() reimplementations 2020-02-10 19:49:46 +01:00
src stree: Switch StringTree from Mapping to MutableMapping 2026-08-12 23:10:12 +00:00
test stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
.gitignore stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
HASH Release 1.0.0-50@suse-tumbleweed/x86_64 2026-06-14 23:29:46 +00:00
Makefile Makefile: Include py-topdir.mk 2026-06-12 04:55:47 +02:00
RELEASES Release 1.0.0-50@suse-tumbleweed/x86_64 2026-06-14 23:29:46 +00:00
VERSION Start version: 1.0.0-50 2026-06-14 23:08:54 +00:00