[I18n-sig] Pre-PEP: Proposed Python Character Model
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Thu, 8 Feb 2001 02:37:05 +0100
> What is your aversion to fopen/stropen/txtopen/binopen or whatever you
> want to call them?
I'm opposed to adding new builtins. There are already way too many
builtins. Just have a look at dir(__builtins__) and try to explain
what each and every of them exactly does.
People had been using string.join happily without demanding that it is
builtin.
I'd admit that codecs.open seems wrong also - it is not a codec that
is being opened. New builtins are worse, IMO (what is an f, a str, or
a bin?). Adding flags to open looks acceptable, though.
Regards,
Martin