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/004070.html below:

ImportModule (was Re: [Python-Dev] for the todo list: cStringIO uses string.joinfields)

ImportModule (was Re: [Python-Dev] for the todo list: cStringIO uses string.joinfields) ImportModule (was Re: [Python-Dev] for the todo list: cStringIO uses string.joinfields)Gordon McMillan gmcm@hypernet.com
Sat, 13 May 2000 16:54:09 -0400
[Fredrik]
> > > (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?)
[Guido]
> Hm, the way I read the code (but I didn't write it!) it calls
> PyImport_Import, which is a higher level function that *does* use
> the __import__ hook.  Maybe this wasn't always the case?

In stock 1.5.2 it's PyImport_ImportModule. Same in cPickle. 
I'm delighted to see them moving towards PyImport_Import.


- Gordon



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