[Checkins] [zopefoundation/persistent] da55b9: Fix slicing and copying of PersistentList and Pers...

Jason Madden noreply at github.com
Wed Feb 26 01:52:21 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/persistent
  Commit: da55b9b2e975c3b1429704ff0610690dc73c1c2b
      https://github.com/zopefoundation/persistent/commit/da55b9b2e975c3b1429704ff0610690dc73c1c2b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M CHANGES.rst
    M persistent/list.py
    M persistent/mapping.py
    M persistent/tests/test_list.py
    M persistent/tests/test_mapping.py
    M persistent/tests/utils.py

  Log Message:
  -----------
  Fix slicing and copying of PersistentList and PersistentMapping.

See https://bugs.python.org/issue27639 and https://bugs.python.org/issue27141

Fixes #112


  Commit: 1e4c405a56c705babd3006706fb286f51c844cef
      https://github.com/zopefoundation/persistent/commit/1e4c405a56c705babd3006706fb286f51c844cef
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M persistent/list.py
    M persistent/tests/test_list.py
    M persistent/tests/test_mapping.py

  Log Message:
  -----------
  Extra slicing tests, and fix a __delslice__ issue on Python 2.

Found by @tseaver in https://github.com/zopefoundation/persistent/pull/115#discussion_r379928442


  Commit: 79bf3cc24caacd2a2c355c698f265c9ec391aa3d
      https://github.com/zopefoundation/persistent/commit/79bf3cc24caacd2a2c355c698f265c9ec391aa3d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M persistent/mapping.py
    M persistent/tests/test_mapping.py
    M persistent/tests/utils.py

  Log Message:
  -----------
  We need to implement PersistentMapping.__copy__ on all versions of Python.

In order to handle the old _container storage.


  Commit: 1dcc91a66dfdfcec7c9ddb62e28008282a17b636
      https://github.com/zopefoundation/persistent/commit/1dcc91a66dfdfcec7c9ddb62e28008282a17b636
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M persistent/list.py

  Log Message:
  -----------
  Simplify and correct version check for when PersistentList.__getitem__ needs to handle slices.


  Commit: 29d207e7849bb55b371e1a4c6674eb4264ab9fbd
      https://github.com/zopefoundation/persistent/commit/29d207e7849bb55b371e1a4c6674eb4264ab9fbd
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M CHANGES.rst
    M persistent/list.py
    M persistent/mapping.py
    M persistent/tests/test_list.py
    M persistent/tests/test_mapping.py
    M persistent/tests/utils.py

  Log Message:
  -----------
  Merge pull request #128 from zopefoundation/issue112

Fix slicing and copying of PersistentList and PersistentMapping.


Compare: https://github.com/zopefoundation/persistent/compare/66fe514f3dff...29d207e7849b


More information about the checkins mailing list