Re: transaction_manager attribute of transaction.interfaces.IDataManager

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Laurence Rowe wrote:
>     transaction_manager = zope.interface.Attribute(
>         """The transaction manager (TM) used by this data manager.
> 
>         This is a public attribute, intended for read-only use.  The value
>         is an instance of ITransactionManager, typically set by the data
>         manager's constructor.
>         """)
> 
> This seems to be used only in the tests, I guess it would be useful if
> you were using multiple transaction managers in a single thread. 

Can you think fo examples where that would happen?

What is a "transaction manager"?

cheers,

Chris

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.