[Grok-dev] Re: registering a factory as a (global) utility

Martijn Faassen faassen at startifact.com
Fri Apr 27 14:11:43 EDT 2007


Martijn Faassen wrote:

>> This will allow us to define a factory=True argument for local 
>> utilities. The effect in both cases will be that the first argument 
>> won't be called but registered directly.
> 
> Hm, I will do this, but I will reverse the semantics. if 'factory=True', 
> the default, the first argument is considered to be a factory. If false, 
> the first argument is registered directly.

Hey Martijn! It's me, Martijn! :)

I've done this, but the argument 'factory' was already in use. I've 
called it 'direct' instead.

Regards,

Martijn



More information about the Grok-dev mailing list