﻿id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 20068 calling QueryDict.update with self causes an infinite loop anonymous nobody "In the following example: q = QueryDict() q.update(q) the second line will cause an infinite loop. (Obviously there's a strong answer you just shouldn't do this...) Regular python dictionaries appear to do nothing when updated with themselves. The appropriate fix would probably be to change the function update() in utils/datastructures.py around line 426-467 so that other_dict = args[0] if other_dict is self: return (I don't have a github account so can't submit this change directly - sorry!) Making an appropriate test-case is less obvious, since it would involve detecting when the existing code runs forever." Bug closed Utilities master Normal needsinfo Unreviewed 0 0 0 0 0 0