]> granicus.if.org Git - python/commit
The tp_new implementation should initialize the errorhandler field,
authorGuido van Rossum <guido@python.org>
Thu, 6 Jun 2002 20:08:25 +0000 (20:08 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 6 Jun 2002 20:08:25 +0000 (20:08 +0000)
commite1c478ff8a8cbae86dbc5467ccfe8c01bac52a54
tree23cdd848a20f1d1b75a0c439893c7b1c93a9c862
parenta312c3ade77a5852c00fd4216626d0423272904a
The tp_new implementation should initialize the errorhandler field,
otherwise this code could segfault:

  from socket import socket
  s = socket.__new__(socket)
  s.recv(100)
Modules/socketmodule.c