Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-24 Thread [EMAIL PROTECTED]
On Oct 24, 9:16 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2007-10-24 at 18:34 +, 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 th

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-24 Thread Malcolm Tredinnick
On Wed, 2007-10-24 at 18:34 +, 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

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-24 Thread Graham Dumpleton
That would be the aim. One end result would obviously then be a marked drop in memory use as you only have in memory one copy of all the core Django modules and any of your own modules which are common between sites. Some degree of data sharing may also be possible. Doing this may though raise a

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-24 Thread Joe
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? On Oct 21, 8:04 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Hi Graham (and Jeremy, who originally started the thread), > > > > On Su

Re: FileField question

2007-10-24 Thread Marty Alchin
On 10/24/07, Thomas Guettler <[EMAIL PROTECTED]> wrote: > I am one of the people who asked for this. I only want to use the > primary key for a directory name. I think a filename is not enough: > I don't want to store the files under MEDIA_ROOT. Otherwise you can't > use access control, since the

Re: FileField question

2007-10-24 Thread Thomas Guettler
Am Dienstag, 23. Oktober 2007 14:49 schrieb Marty Alchin: > In response to some recent questions regarding FileField usage, I > thought about including a way to format the filename based on details > from the model instance itself. It's looking like it' be best to add > an argument to FileField, c

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-24 Thread Graham Dumpleton
On Oct 24, 5:53 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote: > Graham Dumpleton wrote: > > Previously discussed in: > > > http://groups.google.com/group/django-developers/browse_frm/thread/63... > > > Further discussion in mod_wsgi list, albeit how it affected web.py in: > > > http://groups.googl

Re: psycopg (both 1 and 2) may drop support for multiple interpreters (used by mod_python and mod_wsgi)

2007-10-24 Thread Gábor Farkas
Graham Dumpleton wrote: > Previously discussed in: > > > http://groups.google.com/group/django-developers/browse_frm/thread/63046b2fca27673c > > Further discussion in mod_wsgi list, albeit how it affected web.py in: > > http://groups.google.com/group/webpy/browse_frm/thread/4b1e7a63b90ccb8