Alternatives
Products that do what Localscope–Limit scope of Python functions for reproducible execution does
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.
- Not indexed yet — check back in a few minutes.
Ranked by how close each launch is in meaning, then by votes. Refine with a description →