>> This is an anti-pattern to avoid. The idea is that creating a resource >> ought to be the same as "turning it on", or enabling it, or similar. For >> example, we don't do this in Python: > > I would call it "user-mediated resource allocation" as distinct from > "object-mediated" resource allocation.
I should point out, though, it's not really an anti-pattern (coming form the C community). -- MarkJ Tacoma, Washington -- http://mail.python.org/mailman/listinfo/python-list