for the todo list: cStringIO uses string.joinfields
13 May
2000
13 May
'00
7:14 a.m.
the O_writelines function in Modules/cStringIO contains the following code: if (!string_joinfields) { UNLESS(string_module = PyImport_ImportModule("string")) { return NULL; } UNLESS(string_joinfields= PyObject_GetAttrString(string_module, "joinfields")) { return NULL; } Py_DECREF(string_module); } I suppose someone should fix this some day... (btw, the C API reference implies that ImportModule doesn't use import hooks. does that mean that cStringIO doesn't work under e.g. Gordon's installer?) </F>
8741
Age (days ago)
8741
Last active (days ago)
3 comments
3 participants
participants (3)
-
Fredrik Lundh
-
Gordon McMillan
-
Guido van Rossum