#1515: Injecting into database exceptions is more portable than copying 
exceptions
-----------------------------------+----------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian                
     Status:  closed               |            Component:  Database wrapper    
  
    Version:  SVN                  |           Resolution:  wontfix             
  
   Keywords:                       |                Stage:  Design decision 
needed
  Has_patch:  0                    |           Needs_docs:  0                   
  
Needs_tests:  0                    |   Needs_better_patch:  0                   
  
-----------------------------------+----------------------------------------
Changes (by mtredinnick):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 We can't use this. It is not possible to assign to {{{__bases__}}} in new-
 style classes, every exception class should be derived from Exception and
 in Python 2.5, Exception became a new-style class. So the method touted in
 the above link won't work in 2.5.

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