I am stuck with the (~. problem.
In stringvars it seems to add a dot if we put a macro into an input field.
When we then have a page and the macro (~.aaaa~) and do a pwebapp.send then the macro does NOT get expanded.
I have tried and do the expanding twice e.g. pwebapp.expand() and then pwebapp.send and the macro gets expanded.
You have certainly thought about this. Is there a function like pwebapp.send which expands all macros also the ones with the dot e.g. (~.aaaa~)