
report at bugs
Aug 18, 2012, 8:35 AM
Post #5 of 7
(110 views)
Permalink
|
|
[issue15668] PEP 3121, 384 Refactoring applied to random module
[In reply to]
|
|
Mark Dickinson added the comment: The Py_tp_bases line below doesn't look right. I suspect that's what's causing the segfault. +static PyType_Slot Random_Type_slots[] = { + {Py_tp_getattro, PyObject_GenericGetAttr}, + {Py_tp_doc, random_doc}, + {Py_tp_methods, random_methods}, + {Py_tp_new, random_new}, + {Py_tp_free, PyObject_Free}, + {Py_tp_bases, }, + {0, 0} ---------- nosy: +mark.dickinson _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue15668> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|