[Bf-committers] Auto-registration in Python

Matt Ebb matt at mke3.net
Tue Nov 2 03:58:00 CET 2010

On Tue, Nov 2, 2010 at 1:44 PM, Martin Poirier <theeth at yahoo.com> wrote:

>> 4) dynamically defined classes/operators are also a case
>> where auto-registration becomes more tricky then its worth.
> If you're talking about the cases where people were using type() to initialize a class, that's very much overcomplicating things for nothing (even without automatic registration).

I've been using exec() to dynamically generate idpropertygroups with
lists of parameters that are determined at runtime. How could this be
done without dynamically defining classes?



More information about the Bf-committers mailing list