Author richardb
Recipients alexandre.vassalotti, amaury.forgeotdarc, benjamin.peterson, bhy, richardb
Date 2008-07-30.11:18:44
SpamBayes Score 1.105e-05
Marked as misclassified No
Message-id <1217416727.42.0.88680514497.issue3208@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think it's reasonable not to support multiple interpreters in a
single process - they're quite widely used by mod_python and mod_wsgi,
and probably by others.  I'm not sure whether that's a problem here or
not, though.

If we need to allow function annotations to be arbitrary PyObjects,
these PyObject pointers can't (in general) refer to statically allocated
python objects, so some extension modules will have to allocate them in
the module initialisation function (and presumably deallocate them again
when the module is unloaded).

I would have thought that any such PyObjects are going to be valid only
from within a single interpreter.  Perhaps I'm wrong.

Certainly it would be unpleasant if a change to one of the objects in
one interpreter was reflected in other interpreters, but if that didn't
risk causing a crash due to the memory allocation going wrong, or
something equally nasty, it might be acceptable.
History
Date User Action Args
2008-07-30 11:18:47richardbsetrecipients: + richardb, amaury.forgeotdarc, alexandre.vassalotti, benjamin.peterson, bhy
2008-07-30 11:18:47richardbsetmessageid: <1217416727.42.0.88680514497.issue3208@psf.upfronthosting.co.za>
2008-07-30 11:18:46richardblinkissue3208 messages
2008-07-30 11:18:45richardbcreate