Staging
v0.5.1
https://github.com/python/cpython
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
History
Tip revision: d9994e0115e1acfd6d3d97a048af9616778af95c authored by Guido van Rossum on 13 April 2001, 15:42:40 UTC
Patch by Ping (SF bug 415879, Exception.__init__() causes segfault):
Tip revision: d9994e0
File Mode Size
PICTbrowse
applescript
calldll
cgi
embed
example0
example1
example2
html.icons
imgbrowse
interslip
printing
quicktime
resources
sound
speech
textedit
waste
applescript.html -rw-r--r-- 10.0 KB
building.html -rw-r--r-- 21.0 KB
cgi.html -rw-r--r-- 4.8 KB
embed.html -rw-r--r-- 2.0 KB
example0.html -rw-r--r-- 4.2 KB
example1.html -rw-r--r-- 9.5 KB
example2.html -rw-r--r-- 8.2 KB
freezing.html -rw-r--r-- 7.2 KB
index.html -rw-r--r-- 6.3 KB
mpwextensions.html -rw-r--r-- 16.3 KB
plugins.html -rw-r--r-- 17.2 KB
textedit.html -rw-r--r-- 9.3 KB
using.html -rw-r--r-- 19.4 KB
waste.html -rw-r--r-- 4.8 KB

back to top