On Thu, Jun 24, 2010 at 12:07, Michael Foord <fuzzy...@voidspace.org.uk> wrote: > On 24/06/2010 19:11, Brett Cannon wrote: >> >> On Thu, Jun 24, 2010 at 10:38, Bill Janssen<jans...@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. _______________________________________________ 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