Code design for a sub-class of built-ins

Steven D'Aprano steve at REMOVETHIScyber.com.au
Wed Jul 5 08:32:19 EDT 2006


On Tue, 04 Jul 2006 16:41:38 -0700, Alex Martelli wrote:

> As others already suggested, automating such decoration is pretty easy;
> you can do it with either a custom metaclass or a simple post-processing
> of your class in a loop.  Untested details below, but the general idea
> would be something like:

That's great, thanks. You've given me an angle of attack to take and see
where it leads.


-- 
Steven.




More information about the Python-list mailing list