Staging
v0.5.1
v0.5.1
Revision d9994e0115e1acfd6d3d97a048af9616778af95c authored by Guido van Rossum on 13 April 2001, 15:42:40 UTC, committed by Guido van Rossum on 13 April 2001, 15:42:40 UTC
Calling an unbound method on a C extension class without providing an instance can yield a segfault. Try "Exception.__init__()" or "ValueError.__init__()". This is a simple fix. The error-reporting bits in call_method mistakenly treat the misleadingly-named variable "func" as a function, when in fact it is a method. If we let get_func_name take care of the work, all is fine.
1 parent d03f8fe
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.cvsignore | -rw-r--r-- | 79 bytes |
.hgtags | -rw-r--r-- | 1.9 KB |
LICENSE | -rw-r--r-- | 12.1 KB |
Makefile.pre.in | -rw-r--r-- | 21.8 KB |
README | -rw-r--r-- | 37.9 KB |
acconfig.h | -rw-r--r-- | 6.0 KB |
config.h.in | -rw-r--r-- | 16.5 KB |
configure | -rwxr-xr-x | 177.3 KB |
configure.in | -rw-r--r-- | 36.3 KB |
install-sh | -rwxr-xr-x | 5.5 KB |
setup.py | -rw-r--r-- | 24.5 KB |
Computing file changes ...