[Checkins] [zopefoundation/transaction] 22a922: Changed the implementation of ThreadTransactionMan...

GitHub noreply at github.com
Sun Oct 14 19:48:40 CEST 2018


  Branch: refs/heads/wrapped-thread-local-208
  Home:   https://github.com/zopefoundation/transaction
  Commit: 22a922ecad46f67e61f1c402cd63e8acb1a1a4d8
      https://github.com/zopefoundation/transaction/commit/22a922ecad46f67e61f1c402cd63e8acb1a1a4d8
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-14 (Sun, 14 Oct 2018)

  Changed paths:
    M docs/index.rst
    M transaction/_manager.py
    M transaction/tests/test__manager.py

  Log Message:
  -----------
  Changed the implementation of ThreadTransactionManager

Changed the implementation of `ThreadTransactionManager` to be a
`thread.local` that wraps a `TransactionManager` rather than a
`thread.local` that inherits from `TransactionManager`.  It now
exposes a `manager` attribute that allows access to the wrapped
transaction manager to allow cross thread calls.  ZODB will use this
to call `unregisterSynch` when a connection is closed from a main
thread.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list