Michael Spencer wrote:
> Alternatively, you could edit visitName to allow 'True' and any other
> identifiers you specify e.g. (untested):
>
> allowed = {"True": True, "False": False}
> def visitName(self,node, **kw):
> try:
> return self.allowed[node.name]
> except KeyError:
> raise Unsafe_Source_Error("Strings must be quoted",
> node.name, node)
>Thank you both Michael and Felipe. The solutions work great! Regards, Clodoaldo -- http://mail.python.org/mailman/listinfo/python-list
