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

GitHub noreply at github.com
Tue Oct 23 15:54:08 CEST 2018


  Branch: refs/heads/master
  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.


  Commit: 0084eab50a580ae4c8f44bbccf531aa42272fe2b
      https://github.com/zopefoundation/transaction/commit/0084eab50a580ae4c8f44bbccf531aa42272fe2b
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-14 (Sun, 14 Oct 2018)

  Changed paths:
    M transaction/_manager.py

  Log Message:
  -----------
  removed some dead code


  Commit: e09512031aa028eb0dce58e1ced8f4fab61fb4a8
      https://github.com/zopefoundation/transaction/commit/e09512031aa028eb0dce58e1ced8f4fab61fb4a8
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-14 (Sun, 14 Oct 2018)

  Changed paths:
    M transaction/tests/test__manager.py

  Log Message:
  -----------
  Added sync registration and explit tests for the thread local manager

Because coveralls. :/


  Commit: 36a77fc7e0cffd249eb60e24d844130335128ff8
      https://github.com/zopefoundation/transaction/commit/36a77fc7e0cffd249eb60e24d844130335128ff8
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-14 (Sun, 14 Oct 2018)

  Changed paths:
    M transaction/tests/test__manager.py

  Log Message:
  -----------
  excercise registeredSynchs


  Commit: 3d06a6d04eb350ab8054c62b7f27dff2a5c22d73
      https://github.com/zopefoundation/transaction/commit/3d06a6d04eb350ab8054c62b7f27dff2a5c22d73
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-20 (Sat, 20 Oct 2018)

  Changed paths:
    M transaction/tests/test__manager.py

  Log Message:
  -----------
  Added interface-verification tests for managers


  Commit: ef966bb86d2807839ed39478744523868c1de533
      https://github.com/zopefoundation/transaction/commit/ef966bb86d2807839ed39478744523868c1de533
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-20 (Sat, 20 Oct 2018)

  Changed paths:
    M transaction/_manager.py

  Log Message:
  -----------
  separately delegate __enter__


  Commit: d2b90a701a7d718e0a5f86dd85e50c818611c500
      https://github.com/zopefoundation/transaction/commit/d2b90a701a7d718e0a5f86dd85e50c818611c500
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

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

  Log Message:
  -----------
  Merge pull request #68 from zopefoundation/wrapped-thread-local-208

Changed the implementation of ThreadTransactionManager


Compare: https://github.com/zopefoundation/transaction/compare/f63c0aab8597...d2b90a701a7d
      **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