[Python-Dev] thoughts on the bytes/string discussion (original) (raw)

Brett Cannon brett at python.org
Thu Jun 24 21:10:38 CEST 2010


On Thu, Jun 24, 2010 at 12:07, Michael Foord <fuzzyman at voidspace.org.uk> wrote:

On 24/06/2010 19:11, Brett Cannon wrote:

On Thu, Jun 24, 2010 at 10:38, Bill Janssen<janssen at parc.com>  wrote: [SNIP]

The language moratorium kind of makes this all theoretical, but building a String ABC still would be a good start, and presumably isn't forbidden by the moratorium. Because a new ABC would go into the stdlib (I assume in collections or string) the moratorium does not apply. Although it would require changes for builtin types like file to work with a new string ABC, right?

Only if they wanted to rely on some concrete implementation of a method contained within the ABC. Otherwise that's what abc.register exists for.



More information about the Python-Dev mailing list