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

Fix incorrect usage of _representation_string #37

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

Pennycook
Copy link
Contributor

Because a string is iterable, passing "filename" directly as the "attrs" is interpreted as a request to print "f", "i", ... and so on.

We missed this in review and it's not currently covered by any tests. Finding this bug is what led me to open #36.

Because a string is iterable, passing "filename" directly as the "attrs" is
interpreted as a request to print "f", "i", ... and so on.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
@Pennycook Pennycook added the bug Something isn't working label Jan 26, 2024
@Pennycook Pennycook added this to the 1.2.0 milestone Jan 26, 2024
@Pennycook Pennycook merged commit 5bc3a67 into intel:main Jan 26, 2024
1 check passed
@Pennycook Pennycook deleted the repr-string branch January 26, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants