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

Use the correct force_utf8 function based on Python version. #140

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from

Conversation

albu-diku
Copy link

@albu-diku albu-diku commented Oct 18, 2024

Import the experimental branch version of force_utf8 wholesale adding a
-py(2|3) suffix and expose the correct implementation dependent on PY2.

Include forcing InputException messages to a native string as is done in
experimental (also taken directly from that branch) which ensures the
exception message, which may be unicode, becomes a string everywhere.

Depends on: #134

@albu-diku albu-diku force-pushed the refactor/force_utf8-py-both branch 2 times, most recently from ffbce6b to a53ada5 Compare October 20, 2024 19:34
@albu-diku albu-diku force-pushed the refactor/force_utf8-py-both branch from a53ada5 to e446e41 Compare November 2, 2024 10:24
@albu-diku albu-diku force-pushed the refactor/force_utf8-py-both branch from e446e41 to 7d56ec9 Compare November 11, 2024 18:19
@albu-diku albu-diku force-pushed the refactor/force_utf8-py-both branch from 7d56ec9 to 7842978 Compare January 11, 2025 11:58
@albu-diku albu-diku force-pushed the refactor/force_utf8-py-both branch from 7842978 to a9d4601 Compare January 21, 2025 17:11
Import the experimental branch version of force_utf8 wholesale adding a
-py(2|3) suffix and expose the correct implementation dependent on PY2.

Include forcing InputException messages to a native string as is done in
experimental (also taken directly from that branch) which ensures the
exception message, which may be unicode, becomes a string everywhere.
@albu-diku albu-diku force-pushed the refactor/force_utf8-py-both branch from a9d4601 to bed73bf Compare January 29, 2025 10:09
@albu-diku albu-diku changed the base branch from edge to next January 29, 2025 10:19
@albu-diku albu-diku changed the base branch from next to edge January 29, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant