Python
fromPyPy
2 days agoPyPy v7.3.22 release
PyPy v7.3.22 is a bug-fix release improving JIT performance and compatibility with CPython for both Python 2.7 and 3.11.
sys._jit.is_available(): Lets you know if the current build of Python has the JIT. Most binary builds of Python shipped will now have the JIT available, except the "free-threaded" or "no-GIL" builds of Python. sys._jit.is_enabled(): Lets you know if the JIT is currently enabled. It does not tell you if running code is currently being JITted, however.
Why Python's deepcopy Can Be So Slow copy.deepcopy() creates a fully independent clone of an object, traversing every nested element of the object graph." That can be expensive. Learn what it is doing and how you can sometimes avoid the cost.