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
in bytes::[lower|upper] can fail in undocumented ways #1251
(note it also applied to decode)
we ended up copying the Python method, or at least some of them.
Totally can work with those, but in fact would prefer a new one that may be more spicy-relevent
I'd call it QUIT, basically as soon as something doesnt work, return b""
The reason, is that this comes up in handling keywords in parsing (at least for me it does...) and if I have non-printable data then I know somethings wrong, I no longer care about matching it, and just seeing empty would be fine, it wont match a keyword.
So, if you think this makes sense, happy to try and add it as an option sometime.
The text was updated successfully, but these errors were encountered:
in bytes::[lower|upper] can fail in undocumented ways #1251
(note it also applied to decode)
we ended up copying the Python method, or at least some of them.
Totally can work with those, but in fact would prefer a new one that may be more spicy-relevent
I'd call it QUIT, basically as soon as something doesnt work, return b""
The reason, is that this comes up in handling keywords in parsing (at least for me it does...) and if I have non-printable data then I know somethings wrong, I no longer care about matching it, and just seeing empty would be fine, it wont match a keyword.
So, if you think this makes sense, happy to try and add it as an option sometime.
The text was updated successfully, but these errors were encountered: