ipython / ipython/traitlets

Make `c.` optional in config file ?

Open
#370 3 comments 0 reactions 0 assignees View on GitHub
enhancement needs-info question
Dominant language
Python
Stars
653
Forks
217
Avg merge
2d 21h
Merged PRs (30d)
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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.