pyvider-cty 2025-04-21
Split monolithic exceptions.py into a proper package with base, encoding
29 files · 1,299+ · 1,265-

Exceptions Package Split

1 file changed
  • exceptions.py See points for details
  • Replaced single exceptions.py (461 lines) with exceptions package: baseline internal
    1 file
    • exceptions.py

Type Simplification

9 files changed
  • base.py `types/base.py`: 37 lines of changes simplifying base type interface
  • list.py `collections/list.py`: 80 lines of simplification
  • map.py `collections/map.py`: 50 lines of changes
  • set.py `collections/set.py`: 172 lines of restructuring
  • bool.py `primitives/bool.py`: 166 lines of reduction/simplification
  • number.py `primitives/number.py`: 48 lines of changes
  • string.py `primitives/string.py`: 49 lines of changes
  • tuple.py `structural/tuple.py`: 177 lines of expansion with improved validation
  • object.py `structural/object.py`: Removed 6 lines
  • types/base.py: 37 lines of changes simplifying base type interface interface internal
    1 file
    • base.py
  • collections/list.py: 80 lines of simplification decouple internal
    1 file
    • list.py
  • collections/map.py: 50 lines of changes decouple internal
    1 file
    • map.py
  • collections/set.py: 172 lines of restructuring decouple internal
    1 file
    • set.py
  • primitives/bool.py: 166 lines of reduction/simplification decouple internal
    1 file
    • bool.py
  • primitives/number.py: 48 lines of changes decouple internal
    1 file
    • number.py
  • primitives/string.py: 49 lines of changes decouple internal
    1 file
    • string.py
  • structural/tuple.py: 177 lines of expansion with improved validation decouple internal
    1 file
    • tuple.py
  • structural/object.py: Removed 6 lines decouple internal
    1 file
    • object.py

CtyValue Enhancement

1 file changed
  • base.py `values/base.py`: 59 lines of additions
  • values/base.py: 59 lines of additions decouple internal
    1 file
    • base.py
  • Added test_equal.py (23 lines) for value equality testing qualify internal
    1 file
    • test_equal.py

Test Updates

1 file changed
  • list.py Updated list operations tests to expect `CtyValue` wrapper instead of direct `CtyList` for sliced...
  • Updated list operations tests to expect CtyValue wrapper instead of direct CtyList for sliced results qualify internal
    1 file
    • list.py
  • Updated example scripts for serialization, map manipulation, value marking, complex schema interface internal
    1 file
    • list.py
  • Minor fixes across list and set tests qualify internal
    1 file
    • list.py

Conversion Updates

1 file changed
  • json.py See points for details