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 Marc Tamlyn
If the layout change was 1.4 that means it was 3 versions ago (1.4, 1.5 and 1.6) and given that 1.4 is the LTS, there is no supported version which had that as the default layout. On 4 January 2014 23:14, Curtis Maloney wrote: > I submitted a patch some time ago to

Re: Forbidding double imports

2014-01-04 Thread Curtis Maloney
I submitted a patch some time ago to do a small part of this, on models, but it was rejected... As a long time loather of overlapping import paths, I'm with Florian on this one :) [Oh, and the layout change was 1.4, not 1.3 :) ] -- Curtis On 5 January 2014 09:24, Florian Apolloner

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