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
Replace assert guards with StreamError in MarlinStreamer #103
Replace assert statements used as runtime guards in MarlinStreamer with explicit StreamError raises.
Why
assert self._transport is not None (and similar) are compiled out when Python runs with -O. In an optimized build the guards vanish and the next line dereferences None, turning a clear error into an opaque AttributeError. Serial streaming is exactly where we want deterministic, descriptive failures.
Activity