[ZODB-Dev] import problem?
Thomas Guettler
hv at tbz-pariv.de
Thu Apr 1 07:47:16 EST 2004
Am Donnerstag, 1. April 2004 15:41 schrieb Bo M. Maryniuck:
> On Thursday 01 April 2004 14:31, Thomas Guettler wrote:
> > > >>> from user import *
> >
> > ---> OK
>
> Um. Guido sais "from foo import *" is bad style... =)
You are right. Better would be:
from user import User
But the point is, that
from user import User
and
import user
are different since ZODB can't find
the class of the pickle.
Thomas
More information about the ZODB-Dev
mailing list