[New-bugs-announce] [issue44207] Add a version number to Python functions

Mark Shannon report at bugs.python.org
Fri May 21 11:52:58 EDT 2021

New submission from Mark Shannon <mark at hotpy.org>:

In order to specialize calls to Python functions, or to inline them, we need to know that the code object has not changed. It is also useful to know that the globals, builtins and various defaults haven't changed either. Rather than attempting to check these individually it is much simpler and faster to check a version number.

assignee: Mark.Shannon
messages: 394124
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Add a version number to Python functions
type: performance

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list