[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