> On 1 Dec 2016, at 13:29, Shai Berger <s...@platonix.com> wrote:
> On Thursday 01 December 2016 13:52:41 Aymeric Augustin wrote:
>> I’m proposing a separate context manager because I’m worried about
>> increasing again the complexity of transaction.atomic. There will be a
>> significant amount of duplication between the two implementations, though.
> I believe that making transaction.atomic more complex for this will be
> inevitable, because the two will need to interact: If I'm in a TPC
> transaction, and open an atomic block, it needs to be handled as part of the
> TPC transaction. There are too many atomic blocks in the Django ecosystem,
> including Django itself, to make the feature useful any other way.
You may be right.
The person who will write and test that code has all my sympathy :-)
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.