#7786: queries test failure on Python 2.3
--------------------------------------------------------+-------------------
          Reporter:  Karen Tracey <[EMAIL PROTECTED]>  |         Owner:  
mtredinnick
            Status:  new                                |     Milestone:        
     
         Component:  Database wrapper                   |       Version:  SVN   
     
        Resolution:                                     |      Keywords:        
     
             Stage:  Accepted                           |     Has_patch:  0     
     
        Needs_docs:  0                                  |   Needs_tests:  0     
     
Needs_better_patch:  0                                  |  
--------------------------------------------------------+-------------------
Comment (by mtredinnick):

 Looks like there's not really a lot we can do about this. Arranging to not
 do anything in `__len__` that might cause an exception is something I
 tried to do months ago for other reasons and the performance effects were
 terrible. So penalising python 2.4 and 2.5 for what is primarily a
 diagnostic message in this case isn't really worth it. Django works
 correctly if you don't make an error in Python 2.3 and I can live with
 some erroneous cases perform differently than they do in 2.4 and 2.5.

 I've adjusted the test suite to not fail on those tests in 2.3, but that's
 as far as I'm going to go here. Not entirely satisfying, but we're
 fighting Python bugs and the way `list()` and friends are implemented
 internally in Python.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7786#comment:4>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to