ipython / ipython/traitlets

Make `c.` optional in config file ?

Aperta
#370 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement needs-info question
Lingua principale
Python
Stelle
653
Fork
217
Merge medio
2g 21h
PR unite (30g)
2

Descrizione

Or at least gracefully warn if missing, but still work ? Better than "Undefined variable `Foo`" maybe

That would require changing the `__main__` namespace and overwrite `__setattr__` to accept anything that start with an uppercase, and set it on the `c` object.

We could probably warn (did you forget `c.`) ? Or just make `c.` optional.

Thoughts ?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.