Tuesday, September 23.

Header Ads

ad728

Show HN: Localscope–Limit scope of Python functions for reproducible execution https://ift.tt/LcE5zT2

ad728
Show HN: Localscope–Limit scope of Python functions for reproducible execution 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://ift.tt/UDkTiKx ) because it requires pure functions. Thought I'd share. https://ift.tt/I0RSN28 March 17, 2025 at 11:03PM

No comments

Post Top Ad

Post Bottom Ad