pyvider-cty
2025-03-24
Major codebase cleanup removing large amounts of unused/deprecated code
41 files · 802+ · 6,019-
Large-Scale Code Removal
4 files changed
base.pyRemoved `convert/` subsystem entirely: `base.py`, `convert.py`, `primitive.py` (748 lines)dynamic.pyRemoved `encoding/dynamic_value.py` (431 lines) and `encoding/json.py` (42 lines)__init__.pyRemoved `CtyDynamicValue` export from `__init__.py`base.pyRemoved 5 lines from `values/base.py` related to refinement
- Removed
convert/subsystem entirely:base.py,convert.py,primitive.py(748 lines) decouple internal1 file
base.py
- Removed
function/subsystem:base.py(384 lines),stdlib.py(895 lines) decouple internal1 file
base.py
- Removed
values/operations.py(1340 lines of value operations) decouple internal1 file
operations.py
- Removed
values/refinement.py(94 lines) decouple internal1 file
refinement.py
- Removed
encoding/dynamic_value.py(431 lines) andencoding/json.py(42 lines) decouple internal1 file
dynamic.py
- Removed
CtyDynamicValueexport from__init__.pyinterface internal1 file
__init__.py
- Removed 5 lines from
values/base.pyrelated to refinement decouple internal1 file
base.py
Logger Simplification
7 files changed
crypto.pySee points for detailsemoji.pySee points for detailshandshake.pySee points for detailslog_messages.ymlSee points for details__init__.pySee points for detailsplog.pySee points for detailstransport.pySee points for details
- Stripped
logger/__init__.pyfrom 293 lines down to minimal decouple internal1 file
__init__.py
- Removed all message template files:
crypto.py,emoji.py,handshake.py,plog.py,transport.py,log_messages.ymldecouple behavioral6 files
crypto.pyemoji.pyhandshake.pyplog.pytransport.pylog_messages.yml
Test Cleanup
1 file changed
__init__.pyRemoved function tests: `test_function_base.py` (441 lines), `test_stdlib.py` (451 lines)
- Renamed conversion tests to
x_test_*(disabled) pattern qualify internal1 file
__init__.py
- Renamed encoding/json test to
xtest_*qualify internal1 file
json.py
- Removed
test_dynamic.pydecouple internal1 file
test_dynamic.py
- Removed function tests:
test_function_base.py(441 lines),test_stdlib.py(451 lines) qualify internal1 file
__init__.py
- Moved operations tests to
tests/operations/withx_test_*prefix (disabled) qualify internal4 files
__init__.pyx_test_operations.pyx_test_operations_more.pyx_test_values_operations_three.py
- Updated refinement test prefix to
xtest_qualify internal1 file
__init__.py
Tuple Type Enhancement
1 file changed
tuple.pyExpanded `types/structural/tuple.py` with ~239 lines of improvements
Documentation
1 file changed
20250324-1737-claude-docs.mdSee points for details