Changes between Version 4 and Version 6 of Ticket #7204


Ignore:
Timestamp:
06/16/2008 11:14:51 AM (7 years ago)
Author:
ramiro
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7204

    • Property Keywords qsrf-cleanup added
  • Ticket #7204 – Description

    v4 v6  
    11[Original bug report removed; see [http://code.djangoproject.com/ticket/7204#comment:2 the second comment] for the original report. --JKM]
    22
    3 Under some circumstances -- often involving {{{select_related()}}} and {{{count()}}} -- {{{QuerySet.clone()}}} can cause exceptions related to deepcopy(). These exceptions look like {{{TypeError: instancemethod expected at least 2 arguments, got 0}}} or {{{TypeError: function expected at least 2 arguments, got 0}}}.
     3Under some circumstances -- often involving {{{select_related()}}} and {{{count()}}} -- {{{QuerySet.clone()}}} can cause exceptions related to deepcopy(). These exceptions look like
     4
     5{{{
     6TypeError: instancemethod expected at least 2 arguments, got 0
     7}}}
     8or
     9{{{
     10TypeError: function expected at least 2 arguments, got 0
     11}}}
    412
    513The first one involving {{{instancemethod}}} is probably related to a Python issue: see http://bugs.python.org/issue1515.
Back to Top