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

Chris Angelico rosuav at gmail.com
Fri Jan 8 20:42:49 EST 2016


On Sat, Jan 9, 2016 at 8:31 AM, Victor Stinner <victor.stinner at gmail.com> wrote:
> When a function is serialized (by ``marshal`` or ``pickle`` for
> example), specialized functions and guards are ignored (not serialized).
>

Does this mean that any code imported from a .pyc file cannot take
advantage of these kinds of optimizations?

ChrisA


More information about the Python-ideas mailing list