pyvider-cty 2025-03-26
Large msgpack serializer rewrite, object test suite split into focused test
33 files · 4,539+ · 2,727-

Msgpack Serializer Rewrite

1 file changed
  • codec.py `encoding/msgpack_serializer.py`: 1160 lines of changes restructuring serialization logic
  • encoding/msgpack_serializer.py: 1160 lines of changes restructuring serialization logic decouple internal
    1 file
    • codec.py
  • Fixed match/case syntax error (case EXT_UNKNOWN ir True -> case EXT_UNKNOWN if True) remediate internal
    1 file
    • codec.py

Object Test Restructuring

2 files changed
  • test_cty_structural_object.py See points for details
  • test_object.py See points for details
  • Removed monolithic test_cty_structural_object.py (797 lines) and test_object.py (910 lines) decouple internal
    2 files
    • test_cty_structural_object.py
    • test_object.py
  • Split into focused test files: qualify architectural
    2 files
    • test_cty_structural_object.py
    • test_object.py

Map Test Expansion

3 files changed
  • test_collections_map.py See points for details
  • test_cty_map_advanced.py See points for details
  • test_cty_map_comprehensive.py See points for details
  • Added test_cty_map_advanced.py (518 lines) instantiate internal
    1 file
    • test_cty_map_advanced.py
  • Added test_cty_map_comprehensive.py (424 lines) instantiate internal
    1 file
    • test_cty_map_comprehensive.py
  • Moved test_collections_map.py to tests/map/ qualify internal
    1 file
    • test_collections_map.py

Source Code Improvements

6 files changed
  • list.py Enhanced collection types: list (68 lines), map (207 lines), set adjustments
  • map.py Enhanced collection types: list (68 lines), map (207 lines), set adjustments
  • set.py Enhanced collection types: list (68 lines), map (207 lines), set adjustments
  • number.py Expanded `primitives/number.py` (183 lines of changes)
  • object.py Updated `structural/object.py` (105 lines) and `structural/tuple.py` (73 lines)
  • tuple.py Updated `structural/object.py` (105 lines) and `structural/tuple.py` (73 lines)
  • Enhanced collection types: list (68 lines), map (207 lines), set adjustments decouple internal
    3 files
    • list.py
    • map.py
    • set.py
  • Expanded primitives/number.py (183 lines of changes) decouple internal
    1 file
    • number.py
  • Updated structural/object.py (105 lines) and structural/tuple.py (73 lines) decouple internal
    2 files
    • object.py
    • tuple.py
  • Removed TransformationError from exceptions decouple internal
    6 files
    • list.py
    • map.py
    • set.py
    • number.py
    • object.py
    • tuple.py

Test Cleanup

1 file changed
  • xtest_cty_structural_dynamic.py See points for details
  • Removed dynamic test infrastructure: godocs/ directory, dynamic structural test qualify internal
    4 files
    • example.template
    • make-docs.py
    • test.sh
    • test.yaml.tmpl
  • Renamed dynamic test to xtest_cty_structural_dynamic.py qualify internal
    1 file
    • xtest_cty_structural_dynamic.py
  • Updated list test assertions qualify internal
    1 file
    • xtest_cty_structural_dynamic.py

New Examples

1 file changed
  • dynamic.py Added examples 05-11: map manipulation, tuple/dynamic, unknown/null values, path navigation, seri...
  • Added examples 05-11: map manipulation, tuple/dynamic, unknown/null values, path navigation, serialization, value marking, complex schema interface internal
    1 file
    • dynamic.py