On Wed, 2006-02-15 at 18:29 +0100, M.-A. Lemburg wrote:

> Maybe a weird idea, but why not use static methods on the
> bytes and str type objects for this ?!
> 
> E.g. bytes.openfile(...) and unicode.openfile(...) (in 3.0
> renamed to str.openfile())

That's also not a bad idea, but I'd leave off one or the other of the
redudant "open" and "file" parts.  E.g. bytes.open() and unicode.open()
seem fine to me (we all know what 'open' means, right? :).

-Barry

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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