[Checkins] [zopefoundation/transaction] a9c8bc: New transaction API for storing data on behalf of ...

GitHub noreply at github.com
Sat May 21 22:26:07 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/transaction
  Commit: a9c8bcfe6d2f0b4549d7441b1b26154341503d8f
      https://github.com/zopefoundation/transaction/commit/a9c8bcfe6d2f0b4549d7441b1b26154341503d8f
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-21 (Sat, 21 May 2016)

  Changed paths:
    M CHANGES.rst
    M transaction/_transaction.py
    M transaction/interfaces.py
    M transaction/tests/test__transaction.py

  Log Message:
  -----------
  New transaction API for storing data on behalf of objects

For objects such as data managers or their subobjects that
work with multiple transactions, it's convenient to store
transaction-specific data on the transaction itself.  The
transaction knows nothing about the data, but simply holds it
on behalf of the object.

Discussion:
https://groups.google.com/forum/#!topic/python-transaction/oUzj3uIHBgA


  Commit: 810f8473dd6eaf69ed8bcb1a8864515721ceae6d
      https://github.com/zopefoundation/transaction/commit/810f8473dd6eaf69ed8bcb1a8864515721ceae6d
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-21 (Sat, 21 May 2016)

  Changed paths:
    M transaction/interfaces.py

  Log Message:
  -----------
  Emphasize that the object passed to set_data and data is the object needeing the data

And that it's id is used.


  Commit: b9d2a6ae3dedf4acf8092f13b8d1ec88a168e402
      https://github.com/zopefoundation/transaction/commit/b9d2a6ae3dedf4acf8092f13b8d1ec88a168e402
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-05-21 (Sat, 21 May 2016)

  Changed paths:
    M CHANGES.rst
    M transaction/_transaction.py
    M transaction/interfaces.py
    M transaction/tests/test__transaction.py

  Log Message:
  -----------
  Merge pull request #15 from zopefoundation/transaction_data

New transaction API for storing data on behalf of objects


Compare: https://github.com/zopefoundation/transaction/compare/86a1828085d7...b9d2a6ae3ded


More information about the checkins mailing list