[Python-ideas] RFC: PEP: Specialized functions with guards

Victor Stinner victor.stinner at gmail.com
Tue Jan 12 15:38:02 EST 2016


2016-01-12 17:52 GMT+01:00 Brett Cannon <brett at python.org>:
>  This is somewhat similar to the JIT API we have been considering through
> our Pyjion work:
>
> * PyJit_Init()
> * PyJit_RegisterCodeObject()
> * PyJit_CompileCodeObject()
>
> If both ideas gain traction we may want to talk about whether there is some
> way to consolidate the APIs so we don't end up with a ton of different ways
> to optimize code objects.

Since the proposed changes adds many "public" symbols (prefixed with
"Py_", but excluded of the stable ABI and only exposed at the C
level), I chose to add "public" functions. Are you ok with that?

Victor


More information about the Python-ideas mailing list