> Edit "variables.py" in storm at:
> 
> class UnicodeVariable(Variable)
> 
> replace "parse_set" method for this one:
(...)

With this hack, your code may apparently work fine and then break
badly in production due to encoding errors when it gets different
input.

We've made that choice as a very conscious decision, not as an
overlooked mistake, and it actually took us some effort to adopt
this model in our side too.  It definitely paid off as we've not
had encoding errors since then.

-- 
Gustavo Niemeyer
http://niemeyer.net

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to