#13404: django.utils.module_loading fails if loader has no prefix attribute
-------------------------------------+--------------------------------------
          Reporter:  wkornewald      |         Owner:  nobody
            Status:  new             |     Milestone:  1.2   
         Component:  Core framework  |       Version:  SVN   
        Resolution:                  |      Keywords:        
             Stage:  Accepted        |     Has_patch:  0     
        Needs_docs:  0               |   Needs_tests:  0     
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Comment (by russellm):

 @wkornewald - Just ignoring the branch if prefix doesn't exist doesn't
 seem quite right. The branch (in fact, the entire method) exists to ensure
 that we can tell the difference between import errors caused by a missing
 module, and import errors thrown by an existent, but buggy module. If you
 don't care about error reporting, you can skip the whole 'if loader' path
 for eggs, too -- you just don't get helpful error messages.

 I've uploaded an alternate patch that avoids the need to use prefix. Can
 you try it out and see if it works on AppEngine?

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

Reply via email to