Changes between Initial Version and Version 1 of Ticket #2227, comment 34


Ignore:
Timestamp:
12/20/12 12:52:01 (2 years ago)
Author:
akaariai
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2227, comment 34

    initial v1  
    1212
    1313Patch available from https://github.com/akaariai/django/commit/3041aa61e37ba07819661cd81846922f23c5686c. The patch also includes some changes to core code to use the in_tx decorator.
     14
     15EDIT: The patch contains a serious bug: using the Transaction as state leads to shared state between calls. For example nested call to the same function will not work. Also, there will be concurrency issues. Any idea how to do nicely a decorator + context manager which has per call state?
Back to Top