From: Donal K. F. <don...@ma...> - 2012-11-29 09:32:42
|
On 28/11/2012 23:15, Alexandre Ferrieux wrote: > IMO, it might be useful to raise an exception instead of silently > breaking out, because it would more often identify a bug than a > purposeful (dubious) remote-break hack. Strictly, we could probably limit it to structure modifications (i.e., adding or removing keys) as simple value-updates won't break anything. But in either case, it's totally broken with the current 'env' array given the way that deletes and rebuilds itself on every access. (That's also why you can't — usefully — [upvar] to an 'env' array element.) The shenanigans around 'env' really are horrible… Donal. |