[Python-Dev] Some news from my sandbox project (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 20 00:55:55 CEST 2010
- Previous message: [Python-Dev] Some news from my sandbox project
- Next message: [Python-Dev] [Python-checkins] r84877 - python/branches/release27-maint/Lib/posixpath.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor Stinner wrote:
By "program" you mean a "process"?
No, I mean whatever you meant by "program" when you said that different programs could otherwise interfere with each other. If you have conceptually separate programs running in the same interpreter that need to be isolated, each one should run in its own sandbox with its own builtins dict.
should I create a new copy of builtins for each frame?
No, not for each frame, just for each computation that needs to be isolated.
-- Greg
- Previous message: [Python-Dev] Some news from my sandbox project
- Next message: [Python-Dev] [Python-checkins] r84877 - python/branches/release27-maint/Lib/posixpath.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]