#14280: Duplicate deepcopy import in django/db/models/query.py ------------------------------------------+--------------------------------- Reporter: carljm | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: SVN Keywords: sprintSep2010 | Stage: Unreviewed Has_patch: 1 | ------------------------------------------+--------------------------------- In django/db/models/query.py, deepcopy is imported once from copy, and later from django.utils.copycompat. The duplicate was introduced by the multi-db merge (r11952), after the switch had been made to django.utils.copycompat only a few days earlier (r11901).
The copy.deepcopy import is higher in the file, so has no effect, but removing it could help avoid confusion in future. -- Ticket URL: <http://code.djangoproject.com/ticket/14280> Django <http://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 post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.