[Python-Dev] PEP 3147, cached, and PyImport_ExecCodeModuleEx() (original) (raw)
Georg Brandl g.brandl at gmx.net
Sun Apr 11 09:01:03 CEST 2010
- Previous message: [Python-Dev] PEP 3147, __cached__, and PyImport_ExecCodeModuleEx()
- Next message: [Python-Dev] PEP 3147
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 11.04.2010 00:25, schrieb Barry Warsaw:
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 PyImportExecCodeModuleExEx (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 PyImportExecCodeModuleEx() 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, PyImportExecCodeModuleEx() 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#PyImportExecCodeModuleEx 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.
Yes. It was added in response to a ticket very recently, and therefore is only on trunk yet.
Georg
-- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.
- Previous message: [Python-Dev] PEP 3147, __cached__, and PyImport_ExecCodeModuleEx()
- Next message: [Python-Dev] PEP 3147
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]