On 7/7/06, Greg Ewing <[EMAIL PROTECTED]> 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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to