Am 10.01.2013 00:45, schrieb Michael Bayer:
Can't, because as a python warning, the warnings lib caches that message
permanently, to support the typical case that the warnings filter is set to
once. If the message were unique for every value your app would slowly
leak memory
I see, bad
Felix,
Another technique I have used, in case you are not aware of it:
I add this:
import traceback
util.warn(str(traceback.format_stack()))
to whichever sqlalchemy .py file is producing the error, right at the point
where the error is emitted. Then whenever it happens, you get a full
sometimes I get unicode warnings from SQLAlchemy (Unicode type received
non-unicode bind param value).
I find it very hard to fix these issues because I don't know where to look
(often it's not a string literal explicitely in the code but some external
library which returns a string instead of a