![](https://secure.gravatar.com/avatar/d4f7188986ec942bde49c8897723d9c7.jpg?s=120&d=mm&r=g)
9 Mar
2010
9 Mar
'10
12:07 p.m.
On Tue, Mar 9, 2010 at 10:16 PM, Marijn Haverbeke <marijnh@gmail.com> wrote:
I'd say something like this works best as a project-local hack, rather than part of the library interface. The user can perfectly well do (execute "begin") outside of the macro, causing the *transaction* variable to no longer reflect the actual situation.
Maybe with a better docstring explicitly stating that it is limited to only knowing of transactions initiated with the WITH-TRANSACTION macro. -- Daniel White