A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-May/004058.html below:

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

[Python-Dev] for the todo list: cStringIO uses string.joinfields [Python-Dev] for the todo list: cStringIO uses string.joinfieldsFredrik 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;
    }

    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>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4