Message74931
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:55 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, bob.ippolito, vstinner |
| 2008-10-17 19:30:55 | amaury.forgeotdarc | set | messageid: <[email protected]> |
| 2008-10-17 19:30:54 | amaury.forgeotdarc | link | issue4136 messages |
| 2008-10-17 19:30:53 | amaury.forgeotdarc | create | |
|