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
Object Test Restructuring
2 files changed
test_cty_structural_object.pySee points for detailstest_object.pySee points for details
- Removed monolithic
test_cty_structural_object.py(797 lines) andtest_object.py(910 lines) decouple internal2 files
test_cty_structural_object.pytest_object.py
- Split into focused test files:
qualify
architectural
2 files
test_cty_structural_object.pytest_object.py
Map Test Expansion
3 files changed
test_collections_map.pySee points for detailstest_cty_map_advanced.pySee points for detailstest_cty_map_comprehensive.pySee points for details
- Added
test_cty_map_advanced.py(518 lines) instantiate internal1 file
test_cty_map_advanced.py
- Added
test_cty_map_comprehensive.py(424 lines) instantiate internal1 file
test_cty_map_comprehensive.py
- Moved
test_collections_map.pytotests/map/qualify internal1 file
test_collections_map.py
Source Code Improvements
6 files changed
list.pyEnhanced collection types: list (68 lines), map (207 lines), set adjustmentsmap.pyEnhanced collection types: list (68 lines), map (207 lines), set adjustmentsset.pyEnhanced collection types: list (68 lines), map (207 lines), set adjustmentsnumber.pyExpanded `primitives/number.py` (183 lines of changes)object.pyUpdated `structural/object.py` (105 lines) and `structural/tuple.py` (73 lines)tuple.pyUpdated `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.pymap.pyset.py
- Expanded
primitives/number.py(183 lines of changes) decouple internal1 file
number.py
- Updated
structural/object.py(105 lines) andstructural/tuple.py(73 lines) decouple internal2 files
object.pytuple.py
- Removed
TransformationErrorfrom exceptions decouple internal6 files
list.pymap.pyset.pynumber.pyobject.pytuple.py
Test Cleanup
1 file changed
xtest_cty_structural_dynamic.pySee points for details
- Removed dynamic test infrastructure:
godocs/directory, dynamic structural test qualify internal4 files
example.templatemake-docs.pytest.shtest.yaml.tmpl
- Renamed dynamic test to
xtest_cty_structural_dynamic.pyqualify internal1 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.pyAdded examples 05-11: map manipulation, tuple/dynamic, unknown/null values, path navigation, seri...