Many thanks for your answer and the links, esp. ipdb. About ZODB I have found out this:
In a Pyramid application there's a method named "appmaker()" which creates the resource tree as children of the ZODB's root object. This zodb_root is provided by an instance of a PersistentApplicationFinder, which manages the creation of a database instance and opening and closing the connection. This db instance the finder stores in its attribute"db", and this instance is needed to pack the database with "db.pack()". The examples in Pyramid's manual create the finder locally inside main(), so other modules have no access to it. Maybe I'll create the finder inside module "resources.py" from which it could be imported. A more detailed description I have written in chapter "The Database Handle" here: http://3amcode.de//pharaoh/Cms/pharaoh/01-learning-pyramid/00300-zodb-the-zope-object-database/ Dirk -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/YMvW8izQBtcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
