[Python-Dev] for the todo list: cStringIO uses string.joinfields

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sat, 13 May 2000 16:14:32 +0200

the O_writelines function in Modules/cStringIO contains the
following code:

  if (!string_joinfields) {
    UNLESS(string_module = PyImport_ImportModule("string")) {
      return NULL;

        PyObject_GetAttrString(string_module, "joinfields")) {
      return NULL;


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?)