Re: Forbidding double imports

2014-01-06 Thread Shai Berger
On Sunday 05 January 2014 00:24:16 Florian Apolloner wrote: > Kill double imports with fire :þ (and now) +1 -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Forbidding double imports

2014-01-04 Thread Florian Apolloner
Kill double imports with fire :þ (and now) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this

Re: Forbidding double imports

2014-01-04 Thread Marc Tamlyn
Personally, I'd do it straight away. The updated project layout has been around 2 (3?) versions already, and I believe that at least a number of large older codebases have already been reworked on this basis. On 4 January 2014 20:31, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote:

Forbidding double imports

2014-01-04 Thread Aymeric Augustin
Hello, Until Django 1.3 introduced the current project layout, every Django project was vulnerable to double import problems: since PYTHONPATH contained both a directory and its parent, the same module could get imported twice through different paths. For more information on why this is a