commit | 63517577fdcd7c17072e1a612f6d91a35030d571 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jun 18 16:44:57 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jun 18 16:44:57 2002 +0000 |
tree | 14c35b3321d87938e5fafff30d32ad02b272c838 | |
parent | a0b907581611d19c3b7741f15c59b873009036f4 [diff] [blame] |
Patch from SF bug 570483 (Tim Northover). In a fresh interpreter, type.mro(tuple) would segfault, because PyType_Ready() isn't called for tuple yet. To fix, call PyType_Ready(type) if type->tp_dict is NULL.
diff --git a/Misc/ACKS b/Misc/ACKS index c7da1b0..fb64941 100644 --- a/Misc/ACKS +++ b/Misc/ACKS
@@ -336,6 +336,7 @@ Hrvoje Niksic Bill Noon Stefan Norberg +Tim Northover Joe Norton Neal Norwitz Jeffrey Ollie