A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-July/067149.html below:

[Python-Dev] doc for new restricted execution design for Python

[Python-Dev] doc for new restricted execution design for Python [Python-Dev] doc for new restricted execution design for PythonBrett Cannon brett at python.org
Sat Jul 8 01:54:37 CEST 2006
On 7/7/06, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>
> 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.


I am going with raising an exception.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060707/09f05947/attachment.html 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4