diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-06-27 16:46:45 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-06-27 16:46:45 +0000 |
commit | 090a3495b3ff38750192550fd2f80b4c3552cd95 (patch) | |
tree | 6f4a0381cff1bc81fe8be91ab495b7bf934b696d /Python/memmove.c | |
parent | 6ab8b40337cc79a011c4335337a1482f8df278e1 (diff) | |
download | cpython-git-090a3495b3ff38750192550fd2f80b4c3552cd95.tar.gz |
Check return type of __nonzero__() method.
The language reference says you must return an int or a bool. This
fix limits the scope of SF bug 759227 (infinite recursion) to
subclasses of int.
Diffstat (limited to 'Python/memmove.c')
0 files changed, 0 insertions, 0 deletions