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
Changing the argument format from "s" to "s#" works around this problem.
I added a unit test for this. After fixing the "s#", another
bug is exposed by the same test: a string literal containing
\u1234 is mangled by sequence2st().
The last section of the patch seems to correct the second bug.
(I think getarg.c's handling of "s" has a problem
handling a unicode string containing a character whose
encoding is not 1 byte. It has a test for null bytes
at the end that does not work correctly.)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: