You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/markshannon'closed_at=<Date2021-08-09.14:58:07.985>created_at=<Date2021-05-21.15:52:58.086>labels= ['performance']
title='Add a version number to Python functions'updated_at=<Date2021-08-09.14:58:07.985>user='https://github.com/markshannon'
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.
Activity
markshannon commentedon May 21, 2021
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.
markshannon commentedon Jul 12, 2021
New changeset 9487a17 by Mark Shannon in branch 'main':
bpo-44207: Add an internal version number to function objects. (GH-27078)
9487a17