]> granicus.if.org Git - python/commit
Issue #18488: Fix _pysqlite_final_callback()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 22 Jul 2013 06:34:32 +0000 (08:34 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 22 Jul 2013 06:34:32 +0000 (08:34 +0200)
commit3a8573230c0d5b42e3f66ea604fdb86cafeb6366
tree526088c5902c2cca48117c64a4e71de917184283
parentdb53ad7cf16dce2c558e25100d25c1fdae820a6a
Issue #18488: Fix _pysqlite_final_callback()

Restore behaviour of Python 3.3: print the finalizer() error if
sqlite3.enable_callback_tracebacks() has been called, clear the error
otherwise.

But keep (save/restore) also the AttributeError raised in
_pysqlite_step_callback().
Modules/_sqlite/connection.c