Comments (2)
marimo secretly renames all variables that start with _ to _<cell name>_<variable name>
somehow these variables are falling through the filter
This is likely a problem during static analysis in _ast/visitor
from marimo.
I'm new to marimo and learning the internals of python! I would love to help and work on this issue.
You mention this is not really a bug. What is the desired behavior for referencing __
across cells? Or are you suggesting that there be documentation for this? Or should this raise an error, and what error would that be?
Thanks for the code example. I was able to create a notebook, https://marimo.app/?slug=l6y37x, to illustrate that a private variable raises the NameError
when referenced in another cell. If it is desirable to "hide" __
across cells, would it also raise a NameError
? How does that affect the fact that __
is a global variable?
from marimo.
Related Issues (20)
- Printing / showing charts generated with plotnine HOT 1
- Can Marimo use unique default names for cells to serialize to a nicer Python file? HOT 6
- Long running servers lose proxy redirect
- Proactively resolve cycles in split cells
- Configure how much runtime information autocompletion uses HOT 4
- Likely a 750 cell limit due to cell id hash collision HOT 1
- provide some way to show all fields with tab completion based on runtime info, ignoring type annotation
- cursor location sometimes locked and not consistent with display HOT 2
- disabled cell variable definition remains active HOT 4
- Table row selection in fullscreen mode
- Teaching use cases: e.g., render markdown cells by default + hide markdown source HOT 3
- Automatic column summaries of the table component should have a upper row count limit HOT 3
- Make `marimo` more like `Jupyter Lab` HOT 4
- Slider values get reset after changing another one
- Return to "home" from an open notebook HOT 2
- Slides Configuration: Show Code
- GUI Event Loop integration
- list repr should use columns HOT 1
- define __file__ HOT 5
- tutorial says "bottom-left" when it should say "bottom-right"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marimo.