[Python-Dev] how to find the file path to an extension module at init time?

Stefan Behnel stefan_ml at behnel.de
Fri Nov 18 17:26:40 CET 2011


Stefan Behnel, 15.11.2011 09:01:
> "Martin v. Löwis", 15.11.2011 01:33:
>>>> An approach similar to _Py_PackageContext should be possible.
>>>
>>> Yes, and a "_Py_ModuleImportContext" would be rather trivial to do.
>>> Could that go into 3.3?
>>
>> If somebody contributes a patch: sure.
>
> Ok, cool.

Patch(es) uploaded to the bug tracker.

http://bugs.python.org/issue13429

Stefan



More information about the Python-Dev mailing list