#20470: Querying crashes with RuntimeError (dictionary changed size during
iteration)
-------------------------------------+-------------------------------------
Reporter: jpaalasm | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.5
(models, ORM) | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by svisser):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Some observations:
- I couldn't reproduce this today on master with the given model and a few
sample instances that I could think of.
- The line `obj.where = copy.deepcopy(self.where, memo=memo)` (line 264 in
`clone`) is present in Django 1.5 but no longer in master as it was
rewritten for ticket #16759 (commit:
https://github.com/django/django/commit/23ca3a01940c63942885df4709712cebf4df79ec).
So I think the problem isn't there anymore but if the bug can be
demonstrated using a small test case then further investigation is needed.
--
Ticket URL: <https://code.djangoproject.com/ticket/20470#comment:1>
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/066.fd59ef35de32fad088f9640a9784bf85%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.