#11753: Q objects using callables won't combine in 2.4
---------------------------------------------------+------------------------
          Reporter:  alexr                         |         Owner:  nobody
            Status:  new                           |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  1.1   
        Resolution:                                |      Keywords:  Q     
             Stage:  Unreviewed                    |     Has_patch:  0     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by alexr):

 Stacktrace for google.
 {{{
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy.py",
 line 174, in deepcopy
     y = copier(x, memo)
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy.py",
 line 241, in _deepcopy_list
     y.append(deepcopy(a, memo))
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy.py",
 line 174, in deepcopy
     y = copier(x, memo)
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy.py",
 line 248, in _deepcopy_tuple
     y.append(deepcopy(a, memo))
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy.py",
 line 204, in deepcopy
     y = _reconstruct(x, rv, 1, memo)
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy.py",
 line 336, in _reconstruct
     y = callable(*args)
   File
 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/copy_reg.py",
 line 92, in __newobj__
     return cls.__new__(cls, *args)
 TypeError: function() takes at least 2 arguments (0 given)
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11753#comment:3>
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-updates@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to