This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients Mark.Shannon, brett.cannon, gvanrossum, petr.viktorin, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2021-02-17.19:58:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613591896.26.0.513882762178.issue42990@roundup.psfhosted.org>
In-reply-to
Content
+1 on exposing f,__builtins__.

Of course, the thing I'd really want is a way to state that all references to builtins are meant to have the exact semantics of those builtins, so the compiler can translate e.g. len(x) into a new opcode that just calls PyObject_Size().  (I can dream, can't I?)

Another dream: assume that globals that refer to modules, classes or functions don't change, so they can be cached more aggressively.

I suppose enough checking of dict version tags can get us there, or at least close enough.
History
Date User Action Args
2021-02-17 19:58:16gvanrossumsetrecipients: + gvanrossum, brett.cannon, rhettinger, vstinner, petr.viktorin, Mark.Shannon, serhiy.storchaka, yselivanov
2021-02-17 19:58:16gvanrossumsetmessageid: <1613591896.26.0.513882762178.issue42990@roundup.psfhosted.org>
2021-02-17 19:58:16gvanrossumlinkissue42990 messages
2021-02-17 19:58:16gvanrossumcreate