24 Jan
2004
24 Jan
'04
10:31 a.m.
Sean wrote at 2004-1-23 22:07 -0500:
When I include the following line of code:
from Persistence.PersistentMapping import PersistentMapping
in my Product, it causes this error when I try to import it:
AttributeError: 'Persistence.PersistentMapping' module has no attribute '__basicnew__'
In my Zope codebase (Zope 2.7b3), "Persistence.PersistentMapping" is itself the class (and not a module). "from Persistence.PersistentMapping import PersistentMapping" gives me: "ImportError: No module named PersistentMapping". -- Dieter