pyvider-cty 2025-04-01
Expanded type system across all types with major improvements to exceptions
30 files · 3,030+ · 1,539-

Exception System Expansion

1 file changed
  • exceptions.py See points for details
  • exceptions.py: Grew to 418+ lines with comprehensive error classes for validation, type mismatch, encoding, and schema errors interface internal
    1 file
    • exceptions.py

Type System Enhancements

8 files changed
  • base.py `types/base.py`: 122 lines of expansion adding type protocol methods
  • list.py `collections/list.py`: 233 lines of improvements
  • map.py `collections/map.py`: 742 lines of restructured map logic
  • set.py `collections/set.py`: 141 lines of expansion
  • bool.py `primitives/bool.py`: 100 lines of enhancements
  • number.py `primitives/number.py`: 127 lines of improvements
  • string.py `primitives/string.py`: 118 lines of enhancements
  • dynamic.py `structural/dynamic.py`: 110 lines of expansion

CtyValue Major Enhancement

1 file changed
  • base.py `values/base.py`: 764 lines of changes adding value creation, comparison, container operations, a...
  • values/base.py: 764 lines of changes adding value creation, comparison, container operations, and type-aware methods decouple internal
    1 file
    • base.py

Serializer Base

1 file changed
  • serializer.py See points for details
  • encoding/serializer.py: 145 lines of expanded base serializer interface interface internal
    1 file
    • serializer.py

Tuple Test Suite (New)

4 files changed
  • test_cty_tuple_comparison.py `test_cty_tuple_comparison.py` (171 lines): Tuple equality and comparison tests
  • test_cty_tuple_creation.py `test_cty_tuple_creation.py` (85 lines): Tuple construction tests
  • test_cty_tuple_operations.py `test_cty_tuple_operations.py` (197 lines): Tuple operation tests
  • test_cty_tuple_validation.py `test_cty_tuple_validation.py` (174 lines): Tuple validation tests
  • test_cty_tuple_comparison.py (171 lines): Tuple equality and comparison tests qualify internal
    1 file
    • test_cty_tuple_comparison.py
  • test_cty_tuple_creation.py (85 lines): Tuple construction tests qualify internal
    1 file
    • test_cty_tuple_creation.py
  • test_cty_tuple_operations.py (197 lines): Tuple operation tests qualify internal
    1 file
    • test_cty_tuple_operations.py
  • test_cty_tuple_validation.py (174 lines): Tuple validation tests qualify internal
    1 file
    • test_cty_tuple_validation.py
1 file changed
  • harness.py See points for details
  • Removed Go-cty compatibility JSON structure files (6 files) decouple internal
    1 file
    • harness.py
  • Removed tests/map/harness.py qualify internal
    1 file
    • harness.py
  • Updated README with expanded project description specify errata
    1 file
    • README.md

Package Exports

1 file changed
  • __init__.py Updated `__init__.py` with expanded exports (77 lines of changes)
  • Updated __init__.py with expanded exports (77 lines of changes) decouple internal
    1 file
    • __init__.py