[Checkins] [zopefoundation/ZODB] bce996: Add a section on the pitfalls of __eq__/__hash__. ...

GitHub noreply at github.com
Sat Sep 17 18:10:39 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZODB
  Commit: bce996caf685200d32318824c060a39ff1f74c93
      https://github.com/zopefoundation/ZODB/commit/bce996caf685200d32318824c060a39ff1f74c93
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M doc/guide/writing-persistent-objects.rst

  Log Message:
  -----------
  Add a section on the pitfalls of __eq__/__hash__. Fixes #106.


  Commit: 9ea0214ab6b794c3a99d3c38ef372da4785ac86d
      https://github.com/zopefoundation/ZODB/commit/9ea0214ab6b794c3a99d3c38ef372da4785ac86d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2016-09-17 (Sat, 17 Sep 2016)

  Changed paths:
    M doc/guide/writing-persistent-objects.rst

  Log Message:
  -----------
  Incorporate feedback.

- Move doctest example into comment.
- Merge the (advanced) sections.
- Typos.


  Commit: 3e7259a713189148d76f636332d33b534d4faa21
      https://github.com/zopefoundation/ZODB/commit/3e7259a713189148d76f636332d33b534d4faa21
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2016-09-17 (Sat, 17 Sep 2016)

  Changed paths:
    M doc/guide/writing-persistent-objects.rst

  Log Message:
  -----------
  Move the second class into the proof.

The reader doesn't need to see the class that doesn't define eq and hash.


  Commit: 287a7d2c5f402181cb0cb7a0473803e345660368
      https://github.com/zopefoundation/ZODB/commit/287a7d2c5f402181cb0cb7a0473803e345660368
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-09-17 (Sat, 17 Sep 2016)

  Changed paths:
    M doc/guide/writing-persistent-objects.rst

  Log Message:
  -----------
  Merge pull request #118 from NextThought/fix-106

Add a section on the pitfalls of __eq__/__hash__. Fixes #106.


Compare: https://github.com/zopefoundation/ZODB/compare/3674c507a8ba...287a7d2c5f40


More information about the checkins mailing list