[storm] Questions about inserts
Gustavo Niemeyer
gustavo at niemeyer.net
Fri Jun 13 10:20:18 BST 2008
> 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
More information about the storm
mailing list