[Python-3000-checkins] r56004 - python/branches/p3yk/Lib/test/regrtest.py

Neal Norwitz nnorwitz at gmail.com
Mon Jun 18 04:58:14 CEST 2007


On 6/16/07, Guido van Rossum <guido at python.org> wrote:
> This won't scale once there are other modules using ABCs, and there
> will be (starting with io).

Right, I improved it a little to use __subclasses__() so that each
object doesn't
have to be listed.  Until ...

> But you're right that the registries and caches keep stuff alive. I
> need to start using weakrefs instead.

this is implemented which will make it even nicer. :-)

> Regarding the name _abcoll: I read it as "ABstract Collections". :-)

"Although that way may not be obvious at first unless you're Dutch."

:-)

n


More information about the Python-3000-checkins mailing list