Open yamins81 opened 12 years ago
If you're going to reload modules, you are in effect redefining things in exactly the way that this mechanism was supposed to prevent. But you're doing it on purpose. I propose a scope attribute that enables and disables this check. So you can do something like
scope.allow_redefinitions()
Seems reasonable to me ... but why was this mechanism explicitly meant to prevent redefinition in the first place? ... scratch that question, I get it.
currently pyll does not play well with reload python modules ... you get lots of 'Cannot override existing symbol' errors
can this be improved?