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
[Bug Report] Slice string parsing rejects Python repr whitespace and accepts trailing text #9256
string_to_slice() does not trim individual slice components before checking for None, so ordinary Python representations such as slice(None, -3, None) fail. It also uses a prefix match, accepting trailing text after the slice expression.
Actual: ValueError when converting the whitespace-prefixed None to an integer. Separately, string_to_slice('slice(0,2,1)garbage') returns a slice instead of rejecting malformed input.
System Info
main at ebf162a, macOS ARM64, Python 3.12. No Isaac Sim required.
Additional context
Require a full match and trim the captured components. Two new regressions check standard and compact representations and rejection of trailing text. Both failed on main and passed with the correction. All 31 string and dictionary tests passed.
Activity