You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f656fab
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(utilities): move the ContextVars shared across modules into pcapkit.utilities.contextvars (#2623)
- pcapkit/utilities/contextvars.py: a leaf module holding beholding,
frame_depth, in_fragment and rebuilding, public and in __all__. It imports
nothing from pcapkit.
- Their private definitions leave corekit.checksum.internet,
corekit.decorators and protocols.protocol with no re-export; every reader
imports them from utilities.contextvars. Module-private ContextVars stay put.
- tests/project/test_shared_contextvars_2616_unit.py fails on a ContextVar
taken across modules from anywhere else, and on a shared one that is
private, missing from __all__ or read by one module alone.
- Docs: an API page in the utilities toctree, and a Context Variables section
on utilities-or-corekit.rst.
0 commit comments