Skip to content

cleanup(dt): drop shadowed _linspace.py / _normalize_timestamp.py dead code#256

Open
ywatanabe1989 wants to merge 1 commit intodevelopfrom
cleanup/dt-rng-verify-aliases
Open

cleanup(dt): drop shadowed _linspace.py / _normalize_timestamp.py dead code#256
ywatanabe1989 wants to merge 1 commit intodevelopfrom
cleanup/dt-rng-verify-aliases

Conversation

@ywatanabe1989
Copy link
Copy Markdown
Owner

Summary

  • scitex.dt init.py is a thin alias of scitex.datetime — re-exports everything via from scitex.datetime import ....
  • Local _linspace.py / _normalize_timestamp.py are shadowed at runtime and have no direct-path callers (verified: grep -r 'scitex.dt._linspace' finds nothing).
  • Drop the dead files plus an empty _skills/ dir. scitex.dt.linspace / .to_datetime continue to work via the alias.

Test plan

  • from scitex import dt; assert hasattr(dt, 'linspace') and hasattr(dt, 'to_datetime') — passes

scitex.dt is a backward-compat alias of scitex.datetime — its __init__.py
imports everything from scitex.datetime, leaving the local _linspace.py
and _normalize_timestamp.py shadowed dead code (verified: no module reads
them by direct path). Drop them along with the empty _skills/ dir.

Verified: hasattr(scitex.dt, 'linspace' / 'to_datetime') == True.

Co-Authored-By: Claude Opus 4.7 (1M context) <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