-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/08/2014 03:53 AM, Gerhard Schmidt wrote: > Hi, > > I'm running into a strange problem with pyramid and traversal. > > I have a Class inheriting from three base classes. First > PersistentMapping and two of my own classes. > > In __init__ of this class I call super(MyClass, self).__init__() but > the __init__ methods of my two classes get never called. > > If i move PersistentMapping to inherit last. The __init__ methods of > both classes are called. > > Right now that's not a Problem but in the Future i might have to > override some methods of PersistentMapping by inheriting from another > class. > > Am I doing something wrong?
This is a bug in PersistentMapping. Please report it here: https://github.com/zopefoundation/persistent/issues/new I just tested with both 'persistent.Persistent' (which works) and 'persistent.mapping.PersistentMapping' (which doesn't). Feel free to attach the two modules to your report. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlLNoREACgkQ+gerLs4ltQ5moQCdH0j6wTDUjLQd6RjTKeZBoWpB CnQAnR8BGTUjxs75YihFi5u/zZ+ZjF05 =+j90 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
showme_persistent.py
Description: application/httpd-cgi
showme_mapping.py
Description: application/httpd-cgi
