Re:gh-116167: Allow disabling the GIL
by maple3142 on Monday March 11, 2024 @08:40PM
(#39674820)
Python is probably much more monkey patchable. Almost any monkey patching that JavaScript supports also works in Python (e.g. modifying class prototype = assigning class methods), but there are a few things that only Python can do: accessing local variables as dict, access other stack frames, modifying function bytecode, read/write closure variables, patching builtins can change how the language works (__import__, __build_class__). Many of them can make a language hard to optimize.
[ Parent
| on HN ]
There are no comments on this comment yet.