SIGN IN SIGN UP

Add PyUnicode_AsStringAndSize(), which is like PyUnicode_AsString() but

has an extra (optional) output parameter through which it returns the size.
Use this in a few places where I used PyUnicode_AsString() + strlen(),
and in one new place (which fixes test_pep263).
G
Guido van Rossum committed
7d1df6c9b1a7e075c03c4790f47bc83e0104579f
Parent: 9befa93