On Mar 31, 9:08 pm, Ivan Illarionov <[EMAIL PROTECTED]> wrote:
> On Mar 31, 7:36 pm, Thejaswi Puthraya <[EMAIL PROTECTED]>
> wrote:> First, I am very sorry to have caused so much of pain to you. I
> > totally overlooked your ticket (just missed it) in an urge to
> > contribute during the sprint. Will be careful from the next time. The
> > patch for ticket #6789 too was pushed in after lot of reluctance from
> > the devs because it still did not solve the problem of preventing the
> > name clash during deployment.
>
> It's ok. It really wasn't so painfull :)
>
> > Another thing is that your current patch (as on 31/3/08) let's people
> > name their project "test" which the INVALID_PROJECT_NAMES was
> > preventing earlier.
>
> No, it won't. 'test' is a standard python package and it will be
> detected by __import__ in try/except/else clause.
> INVALID_PROJECT_NAMES is unnecessary - every single name in it is
> handled by __import__ - I checked and tested this when created my
> patch.

Sorry to prolong this discussion. Though I can see the test module
http://docs.python.org/modindex.html, it is not installed on my system
and hence I was able to create a project by name 'test'. I am using
python2.5.1 taken directly from the fedora rpm repository.

Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named test
>>>

--
Cheers
Thejaswi Puthraya
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to