[Python-Dev] PEP 3147, __cached__, and PyImport_ExecCodeModuleEx()

Barry Warsaw barry at python.org
Sun Apr 11 00:25:53 CEST 2010


On Apr 10, 2010, at 08:28 PM, Georg Brandl wrote:

>Am 10.04.2010 18:12, schrieb Guido van Rossum:
>> On Sat, Apr 10, 2010 at 8:58 AM, Barry Warsaw <barry at python.org> wrote:
>>> On Apr 09, 2010, at 05:41 PM, Guido van Rossum wrote:
>>>
>>>>On Fri, Apr 9, 2010 at 3:54 PM, Paul Moore <p.f.moore at gmail.com> wrote:
>>>>> Would it be better to name this one _PyImport_ExecCodeModuleExEx (with
>>>>> an underscore) so that we *don't* need to create an ExExEx version in
>>>>> future? (Sorry, Barry :-))
>>>>
>>>>I don't care about what name you pick, and my ExEx proposal was meant
>>>>to include half a wink, but http://docs.python.org/c-api/import.html
>>>>makes it clear that PyImport_ExecCodeModuleEx() is far from private!
>>>>(I don't know where Barry got that idea.)
>>>
>>> Note that it's the non-Ex version that's documented here.  AFAICT,
>>> PyImport_ExecCodeModuleEx() is not documented.  I'm happy to fix that in my
>>> branch as well.
>> 
>> Ah, true. And yes, please.
>
>*cough* http://docs.python.org/dev/c-api/import.html#PyImport_ExecCodeModuleEx
>Not backported to stable yet, though.

'dev' is Python 2.7 (i.e. trunk) right?  I was looking at the py3k url, which
it hasn't been ported to either yet I think.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100410/276adc03/attachment-0001.pgp>


More information about the Python-Dev mailing list