buildpg
buildpg copied to clipboard
Func('now')
should raise a more sensible error
Currently
from buildpg import Func
print(Func('now'))
Raises an ugly RuntimeError: generator raised StopIteration error which is not easy to track down.
This was with buildpg v0.1, later version might have fixed the problem.
I think behaved differently in python 3.6.