#28099: Reuse of UpdateQuery breaks complex delete updates
-------------------------------------+-------------------------------------
Reporter: milosu | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.11
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Shai Berger):
Hi,
When you say a bug in Django is triggered by process memory layout, it
sounds suspicious -- Python code should generally not be affected by such
low-level concerns. So, it sounds more likely that Django's use triggers a
bug in the underlying components which are written in C -- Python itself,
Psycopg2, or the PostgreSQL client libraries. Such bugs are, indeed, more
likely on Windows, where these components are less used and tested.
It may be the case that there is such a bug, and your suggested fix makes
Django work around it -- which may make the fix worth while, but the
upstream projects should be notified.
Or, unlikely as it seems to me, it may be that Django is actually doing
something wrong here. But to show that, in my opinion, you need to show
not just that something bad can happen when using Django -- you need to
show where Django is violating some contract of the APIs it is using.
--
Ticket URL: <https://code.djangoproject.com/ticket/28099#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.fa796a4d4888bf1dc7ef75de3592ea35%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.