R. David Murray added the comment: Given what you have determined, I don't think there would be any benefit to such a method.
Furthermore, I have now remembered that as of Python 3.3 the sqlite3 module/sqlite3 has a set_trace_callback function that allows you to capture the commands that are sent to the database. It doesn't work the same as mogrify, but it can serve the same purpose, since it shows the sql in expanded form, not in parameterized form. ---------- resolution: -> rejected stage: test needed -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9506> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com