#25246: Python 3 error in runserver when a directory is missing __init__.py
-------------------------------+--------------------------------------
     Reporter:  jessamynsmith  |                    Owner:  caioariede
         Type:  Bug            |                   Status:  assigned
    Component:  Core (Other)   |                  Version:  1.7
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by carljm):

 @caioariede I don't think we need or want an end-to-end test for this that
 tries to recreate the actual Python bug using a real package (it seems
 it's platform-specific). It would be sufficient to just add a unit test
 using a fake module object with a `__path__` attribute containing dupes,
 and add the de-duping logic in `_path_from_module` as mentioned above, and
 reference the Python bug url in a comment.

--
Ticket URL: <https://code.djangoproject.com/ticket/25246#comment:8>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.fa79d1fd20b120d7dbf2442ad6bbaa9a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to