[stringtemplate-interest] Another: $x:{}$ when x=0
Roman Odaisky
roma at qwertty.com
Fri Nov 21 08:15:42 PST 2008
Likewise, this is obviously erroneous:
>>> st = StringTemplate("$x:{yes};null={no}$")
>>> st["x"] = 0
>>> print unicode(st)
no
Again those dynamic languages that don’t distinguish null, zero and ""...
--
WBR
Roman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2286 bytes
Desc: not available
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20081121/a9ed7e76/attachment.bin
More information about the stringtemplate-interest
mailing list