[Patches] PyObject_GetAttr/PyObject_SetAttr core dumps if given non-string names
Jeremy Hylton
jeremy@beopen.com
Mon, 26 Jun 2000 13:18:28 -0400 (EDT)
>>>>> "GA" == Gisle Aas <gisle@ActiveState.com> writes:
GA> Jeremy Hylton <jeremy@beopen.com> writes:
>> Do you have a pure-Python test case that causes the new code to
>> be executed?
GA> No. If I call the python level getattr() then it will demand
GA> that the second argument is a string. This is probably also the
GA> reason this has not been a problem for "normal" people.
Ok. I was looking for a test case to include in the test suite. I've
made the change, but it looks like it will have to go without an
accompanying test.
Jeremy