This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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?
Date User Action Args
2008-10-17 19:30:55amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, bob.ippolito, vstinner
2008-10-17 19:30:55amaury.forgeotdarcsetmessageid: <>
2008-10-17 19:30:54amaury.forgeotdarclinkissue4136 messages
2008-10-17 19:30:53amaury.forgeotdarccreate