ipython / ipython/traitlets

Make `c.` optional in config file ?

Ouverte
#370 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement needs-info question
Langage dominant
Python
Étoiles
653
Forks
217
Merge moyen
2 j 21 h
PR mergées (30 j)
2

Description

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 ?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.