Skip to content

Move FileAccessProxy into its own module - #195

Open
braganholo wants to merge 1 commit into
masterfrom
refactor-file-access-proxy
Open

Move FileAccessProxy into its own module#195
braganholo wants to merge 1 commit into
masterfrom
refactor-file-access-proxy

Conversation

@braganholo

Copy link
Copy Markdown
Contributor

The FileAccessProxy (and its TextFileProxy/BufferedFileProxy/RawFileProxy subclasses, the io category registrations, and wrap_file_access factory) were added to collector.py, which was already too large. Extract them into a dedicated file_access_proxy.py module and import wrap_file_access from there in the collector.

No behavior change: run_tests.py is still 100% green (339 tests, 1 skip, 0 failures). The regression test's import is updated to point at the new module.

The FileAccessProxy (and its TextFileProxy/BufferedFileProxy/RawFileProxy
subclasses, the io category registrations, and wrap_file_access factory)
were added to collector.py, which was already too large. Extract them into
a dedicated file_access_proxy.py module and import wrap_file_access from
there in the collector.

No behavior change: run_tests.py is still 100% green (339 tests, 1 skip,
0 failures). The regression test's import is updated to point at the new
module.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant