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
Utworzony
5d
|
17 mar 2025, 17:50:23
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie

Article URL: https://www.vibecoding.games/vibesail-a-case-study-in-vibe-coding-a-game/
Comments URL:

Article URL: https://github.com/zen-browser/desktop/issues/5947
Article URL: https://www.scallop-lang.org/
Comments URL: https://news.ycombinator.com/ite