Python as a Language is Inescabably Coupled with its Implementation Part 2: The Tracer

from blog Jason Scheirer on the Internet on Jason Scheirer, | ↗ original
I was recently discussing some dumb Python tricks at work with some colleagues and showed them this old Gist I wrote, which in modern times I would rewrite to look like this: import functools import inspect import sys @functools.lru_cache def getlines(filename): with open(filename, "r") as file_handle: return tuple(file_handle)...