[Stoq-devel] Re: [POS-commit] r3989 - in stoqlib/trunk: stoqlib/lib

Johan Dahlin jdahlin at async.com.br
Wed Jul 26 17:22:43 BRT 2006


Henrique Romano wrote:
> Johan Dahlin escreveu:
>> +
>> +from kiwi.component import implements
>>   
> 
> why not zope.interface? since it have been used in all stoqlib

It's an abstaction of top of it, it'll be the same.

There's no written standard, if you write a document I will.

>> +from kiwi.log import Logger
>> +
>> +from stoqlib.lib.interfaces import CookieError, ICookieFile
>>   
> Exceptions must be in stoqlib.exceptions, not stoqlib.lib.interfaces

Why?
stoqlib.lib.exceptions is silly, it should be removed IMHO.

There are exceptions outside of that one; eg stoqlib/domain/base.py

-- 
Johan Dahlin <jdahlin at async.com.br>
Async Open Source


More information about the Stoq-devel mailing list