[Checkins] [zopefoundation/zope.i18nmessageid] 42699c: Fix copying Message in pure-python.

GitHub noreply at github.com
Fri Oct 19 21:56:59 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.i18nmessageid
  Commit: 42699ccf90d352200199dcd8dee0894591d9577b
      https://github.com/zopefoundation/zope.i18nmessageid/commit/42699ccf90d352200199dcd8dee0894591d9577b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/i18nmessageid/_zope_i18nmessageid_message.c
    M src/zope/i18nmessageid/message.py
    M src/zope/i18nmessageid/tests.py

  Log Message:
  -----------
  Fix copying Message in pure-python.

Do it like the C extension does, by actually copying from the other object and then setting attributes if needed.

Also drop old C support code for Python < 2.6


  Commit: a2c0e413df1fd389de57578672e1415121ff9b09
      https://github.com/zopefoundation/zope.i18nmessageid/commit/a2c0e413df1fd389de57578672e1415121ff9b09
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M src/zope/i18nmessageid/message.py
    M src/zope/i18nmessageid/tests.py

  Log Message:
  -----------
  Make the Python implementation stop apptempting to pointlessly copy strings and (somewhat pointedly) copy mappings, like the C implementation.


  Commit: 6cb7a6c9c3a05192695299d9847a4637b0533e7e
      https://github.com/zopefoundation/zope.i18nmessageid/commit/6cb7a6c9c3a05192695299d9847a4637b0533e7e
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/i18nmessageid/_zope_i18nmessageid_message.c
    M src/zope/i18nmessageid/message.py
    M src/zope/i18nmessageid/tests.py

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

Fix copying Message in pure-python.


Compare: https://github.com/zopefoundation/zope.i18nmessageid/compare/027263ea0001...6cb7a6c9c3a0
      **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