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 ?
Or at least gracefully warn if missing, but still work ? Better than "Undefined variable
Foo" maybeThat would require changing the
__main__namespace and overwrite__setattr__to accept anything that start with an uppercase, and set it on thecobject.We could probably warn (did you forget
c.) ? Or just makec.optional.Thoughts ?