#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 caioariede):
Replying to [comment:8 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.
Yes, I will do. Seems to be related to Python 3.4.2 (I want to check), I
couldn't reproduce it with 3.4.3.
--
Ticket URL: <https://code.djangoproject.com/ticket/25246#comment:9>
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.3e4d8ed2b9e38c8b97eb088d311e04c0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.