[Python-checkins] r51755 - python/branches/bcannon-objcap/securing_python.txt

Brett Cannon brett at python.org
Wed Sep 6 20:38:59 CEST 2006


On 9/6/06, Jim Jewett <jimjjewett at gmail.com> wrote:
>
> On 9/6/06, Nick Coghlan <ncoghlan at gmail.com> wrote:
> > brett.cannon wrote:
> > > +    - exit() (XXX verify if it kills the interpreter or the process;
> > > +      should also check raising SystemExit)
>
> > exit() just raises SystemExit. An unhandled SystemExit then causes the
> > interpreter to call the C-level abort().
>
> It also (tries to) close sys.stdin, which is why it (now) works in IDLE.


Yeah, I noticed that and changed in a later checkin what needs to be dealt
with.

I might need to change the handling of the exception so that if it
propagates up that it only kills the process if the current interpreter is
the only interpreter.

I am starting to see why various people have told me that multiple
interpreter support is very weak (*lots* of stuff is just shared even though
it would seem to be separate for each interpreter).

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-checkins/attachments/20060906/49a06434/attachment.html 


More information about the Python-checkins mailing list