commit | e1c478ff8a8cbae86dbc5467ccfe8c01bac52a54 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jun 06 20:08:25 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jun 06 20:08:25 2002 +0000 |
tree | 23cdd848a20f1d1b75a0c439893c7b1c93a9c862 | |
parent | a312c3ade77a5852c00fd4216626d0423272904a [diff] |
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)