Changes between Initial Version and Version 1 of Ticket #25246, comment 2


Ignore:
Timestamp:
Aug 21, 2015, 1:26:30 PM (9 years ago)
Author:
Carl Meyer

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25246, comment 2

    initial v1  
    1 I don't know how or why a Python 3 namespace package would end up with a `__path__` containing the same directory multiple times (seems like a bug in Python, if someone is able to track down the cause), but regardless Django may as well be robust against it. We should just de-dupe `__path__`, probably by converting to a set, in `AppConfig._path_to_module`.
     1I don't know how or why a Python 3 namespace package would end up with a `__path__` containing the same directory multiple times (seems like a bug in Python, if someone is able to track down the cause), but regardless Django may as well be robust against it. We should just de-dupe `__path__`, probably by converting to a set, in `AppConfig._path_from_module`.
Back to Top