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

don't convert (unindexed) ascii str to bytes in GenericProperty #100

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pnico
Copy link

@pnico pnico commented Aug 21, 2023

Fixes #99 (but only for non-indexed properties), while keeping the same behavior as before if the value was passed as a bytes object or if the property is indexed

  • [x ] Tests pass
  • Appropriate changes to README are included in PR

@pnico pnico changed the title don't convert (unindexed) ascii str to bytes don't convert (unindexed) ascii str to bytes in GenericProperty Aug 21, 2023
@ludoch ludoch requested review from asriniva and shreejad and removed request for asriniva August 22, 2023 22:31
@pnico pnico force-pushed the fix/generic-property-ascii-str branch from 4e733ec to 546bb38 Compare September 19, 2023 17:41
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.

GenericProperty (and therefore Expando) changes str values to bytes (sometimes)
1 participant