Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C extension not used in Python 3 #4

Closed
jamadden opened this issue May 1, 2017 · 0 comments · Fixed by #6
Closed

C extension not used in Python 3 #4

jamadden opened this issue May 1, 2017 · 0 comments · Fixed by #6

Comments

@jamadden
Copy link
Member

jamadden commented May 1, 2017

Because the import line simply does import _zope_i8nmessageid_message, which is absolute, and so the module con't be found.

jamadden added a commit that referenced this issue May 1, 2017
…`` the same

Fixes #4 and fixes #5.

Add a specific test case for both of these things.

Enabling the C extension on Python 3 revealed more places where
readonly attributes can raise different exceptions so fix those tests.

Also add Python 3.6 to the supported list, and use zope.testrunner to
workaround the namespace package issue.
jamadden added a commit that referenced this issue May 1, 2017
…`` the same

Fixes #4 and fixes #5.

Add a specific test case for both of these things.

Enabling the C extension on Python 3 revealed more places where
readonly attributes can raise different exceptions so fix those tests.

Also add Python 3.6 to the supported list, and use zope.testrunner to
workaround the namespace package issue.
jamadden added a commit that referenced this issue May 1, 2017
…`` the same

Fixes #4 and fixes #5.

Add a specific test case for both of these things.

Enabling the C extension on Python 3 revealed more places where
readonly attributes can raise different exceptions so fix those tests.

Also add Python 3.6 to the supported list, and use zope.testrunner to
workaround the namespace package issue.
clrpackages pushed a commit to clearlinux-pkgs/zope.i18nmessageid that referenced this issue May 9, 2017
…o version 4.1.0

4.1.0 (2017-05-02)
------------------

- Drop support for Python 2.6 and 3.2.

- Add support for Python 3.5 and 3.6.

- Fix the C extension not being used in Python 3. See `issue 4
  <https://github.com/zopefoundation/zope.i18nmessageid/issues/4>`_.

- Make the Python implementation of Message accept any object for the
  ``default`` argument, just as the C extension does. This should be a
  unicode or byte string. See `issue 5
  <https://github.com/zopefoundation/zope.i18nmessageid/issues/5>`_.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant