diff options
author | Guido van Rossum <guido@python.org> | 2002-06-06 20:08:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-06 20:08:25 (GMT) |
commit | e1c478ff8a8cbae86dbc5467ccfe8c01bac52a54 (patch) | |
tree | 23cdd848a20f1d1b75a0c439893c7b1c93a9c862 /Lib/rfc822.py | |
parent | a312c3ade77a5852c00fd4216626d0423272904a (diff) | |
download | cpython-e1c478ff8a8cbae86dbc5467ccfe8c01bac52a54.zip cpython-e1c478ff8a8cbae86dbc5467ccfe8c01bac52a54.tar.gz cpython-e1c478ff8a8cbae86dbc5467ccfe8c01bac52a54.tar.bz2 |
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)
Diffstat (limited to 'Lib/rfc822.py')
0 files changed, 0 insertions, 0 deletions