ipython / ipython/traitlets

Make `c.` optional in config file ?

Đang mở
#370 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement needs-info question
Ngôn ngữ chính
Python
Star
653
Fork
217
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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 ?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.