SIGN IN SIGN UP

PyObject_Generic{Get,Set}Attr(): ensure that the attribute name is a

string object (or a Unicode that's trivially converted to ASCII).

PyObject_GetAttr(): add an 'else' to the Unicode test like
PyObject_SetAttr() already has.
G
Guido van Rossum committed
ebca9fc1ba23e58d734b9ab422da6a64fa4d72e2
Parent: d3d8a1d