On Wed, 2007-10-24 at 18:34 +0000, Joe wrote:
> If I understand this correctly, if you implemented this, could I use
> the same python interpreter between multiple virtual hosts and not
> worry about overlap?

That's the rough goal, yes. Complete sandboxing might not be possible,
because it would be nice to share memory usage (as Graham mentioned in
his reply), however that would mean that any poking into the common
modules' namespaces that one site did would affect all the other sites
using that module: for example, if you added something to contrib.auth
(just to pull a name out of the hat) by replacing
contrib.auth.models.Auth.get_absolute_url, say, *all* sites would see
that change. That's a little less contained than I would really like,
but it's the trade-off for sharing memory. I haven't thought about this
enough to feel confident going either way, yet.

Realise that this is all still in the planning phase because I have to
get queryset-refactor finished along with other regular maintainer work
done, too. But I've got at least two long plane flights coming up in the
next month, so that should give me some time to think about things and
work on an implementation.

Regards,
Malcolm

-- 
Always try to be modest and be proud of it! 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
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