Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, bob.ippolito, loewis, vstinner
Date 2008-10-17.19:30:53
SpamBayes Score 0.000558479
Marked as misclassified No
Message-id <1224271855.3.0.775242229868.issue4136@psf.upfronthosting.co.za>
In-reply-to
Content
About the patch: are those lines really needed?

+    PyScannerType.tp_getattro = PyObject_GenericGetAttr;
+    PyScannerType.tp_setattro = PyObject_GenericSetAttr;
+    PyScannerType.tp_alloc  = PyType_GenericAlloc;
+    PyScannerType.tp_new = PyType_GenericNew;
+    PyScannerType.tp_free = _PyObject_Del;

I've never used them. What happens if the slots are left empty, and let PyType_Ready() do the rest?
History
Date User Action Args
2008-10-17 19:30:55amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, bob.ippolito, vstinner
2008-10-17 19:30:55amaury.forgeotdarcsetmessageid: <1224271855.3.0.775242229868.issue4136@psf.upfronthosting.co.za>
2008-10-17 19:30:54amaury.forgeotdarclinkissue4136 messages
2008-10-17 19:30:53amaury.forgeotdarccreate