localscope is a small Python package that disassembles functions to check if they access global variables they shouldn't. I wrote this a few years ago to detect scope bugs which are common in Jupyter notebooks. It's recently come in handy writing jax code (https://github.com/jax-ml/jax) because it requires pure functions. Thought I'd share.
Comments URL: https://news.ycombinator.com/item?id=43390823
Points: 9
# Comments: 1
Login to add comment
Other posts in this group
Article URL: https://www.reuters.com/sustainability/b
Article URL: https://www.nytimes.com/2025/07/10/us/politics/texas-flood-alarm-system.html
Comments
Article URL: https://www.serdashop.com/HDDClicker
Comments URL: https://news.ycomb
Article URL: https://twitter.com/sama/status/1943837550369812814
The latest version of Chrome (138) removes Manifest v2 and all extensions that rely on it.
Comments URL: https://news.ycombinato