diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-07-30 22:39:31 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-07-30 22:39:31 (GMT) |
commit | 0eb1115f4415593861a85aad3c7d12081252c866 (patch) | |
tree | aebb692dda8180fd4001f9dbba57f66b63a4e92b /PCbuild/pcbuild.dsw | |
parent | 3ce45389bd929296863e26586fa6963ba307e6fb (diff) | |
download | cpython-0eb1115f4415593861a85aad3c7d12081252c866.zip cpython-0eb1115f4415593861a85aad3c7d12081252c866.tar.gz cpython-0eb1115f4415593861a85aad3c7d12081252c866.tar.bz2 |
Fix for SF byg [ #420304 ] getattr function w/ default
Fix suggested by Michael Hudson: Raise TypeError if attribute name
passed to getattr() is not a string or Unicode. There is some
unfortunate duplication of code between builtin_getattr() and
PyObject_GetAttr(), but it appears to be unavoidable.
Diffstat (limited to 'PCbuild/pcbuild.dsw')
0 files changed, 0 insertions, 0 deletions