[Python-Dev] doc for new restricted execution design for Python (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 8 01:32:00 CEST 2006
- Previous message: [Python-Dev] doc for new restricted execution design for Python
- Next message: [Python-Dev] doc for new restricted execution design for Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
What would the signature of the file constructor be in that case?
If it's possible to call it at all, I think it would have to take a file descriptor, or whatever the platform's OS-level representation of an open file is.
The other possibility is to just raise an exception if you call file() from Python code.
-- Greg
- Previous message: [Python-Dev] doc for new restricted execution design for Python
- Next message: [Python-Dev] doc for new restricted execution design for Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]