Commit e1c478f
committed
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)1 parent a312c3a commit e1c478f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1690 | 1690 | | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | | - | |
| 1693 | + | |
1694 | 1694 | | |
| 1695 | + | |
| 1696 | + | |
1695 | 1697 | | |
1696 | 1698 | | |
1697 | 1699 | | |
| |||
0 commit comments