#15114: module_has_submodule can report false positives
---------------------------+------------------------------------------------
 Reporter:  shields        |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  1              |  
---------------------------+------------------------------------------------
 Python caches failed relative imports using a None in sys.modules.
 However, module_has_submodule only checks to see whether a key is present
 in sys.modules, so it can incorrectly report that a module exists when it
 doesn't.

 Attached is a patch (one line, plus a comment) and a regression test.

 The patch is against trunk, but the bug also affects 1.2.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15114>
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 [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