Skip to content

Conversation

@MiWeiss
Copy link
Collaborator

@MiWeiss MiWeiss commented Jan 14, 2026

Replace assert statements with explicit if + raise ValueError in _cast_to_duplicate() to ensure checks run even with Python -O flag.

@MiWeiss MiWeiss force-pushed the fix/replace-assertions-with-exceptions branch 2 times, most recently from e075741 to cd0ff29 Compare January 14, 2026 20:08
@MiWeiss MiWeiss changed the title Replace assertions with explicit exceptions in library.py ♻️ Replace assertions with explicit exceptions Jan 14, 2026
@MiWeiss MiWeiss force-pushed the fix/replace-assertions-with-exceptions branch from cd0ff29 to 2eeb8a0 Compare January 14, 2026 20:12
@MiWeiss MiWeiss force-pushed the fix/replace-assertions-with-exceptions branch from 2eeb8a0 to 84215e7 Compare January 14, 2026 20:25
@MiWeiss
Copy link
Collaborator Author

MiWeiss commented Jan 14, 2026

change by claude

@MiWeiss MiWeiss merged commit 5d7f8f1 into main Jan 14, 2026
21 checks passed
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.

2 participants