Skip to content

Fix repr for complex numbers involving NaN - #3228

Merged
youknowone merged 2 commits into
RustPython:mainfrom
chrismoradi:fix-complex-repr-tests
Oct 7, 2021
Merged

youknowone merged 2 commits into
RustPython:mainfrom
chrismoradi:fix-complex-repr-tests

Conversation

@chrismoradi

@chrismoradi chrismoradi commented Oct 5, 2021 •

Copy link
Copy Markdown
Contributor

Using to_lowercase() to format "NaN" as "nan" feels a bit hacky. Happy to make changes if there's a better way.

@youknowone

Copy link
Copy Markdown
Member

#3184

@chrismoradi

Copy link
Copy Markdown
Contributor Author

Ah, totally missed that there was already a PR up for this.

@DimitrisJim

Copy link
Copy Markdown
Member

Yeah, I'll close this for now. If for some reason the other PR doesn't move forward I'll ping you to let you know. Either way, thanks for giving a shot at it!

@DimitrisJim DimitrisJim closed this Oct 6, 2021
@youknowone youknowone added the duplicate This issue or pull request already exists label Oct 6, 2021
@youknowone

Copy link
Copy Markdown
Member

Let's keep this opened but mark as duplicate. Once either one is merged, we can close both issues.

@youknowone youknowone reopened this Oct 6, 2021
@DimitrisJim

Copy link
Copy Markdown
Member

huh, wasn't aware of duplicate tag tbh, fine by me.

@youknowone
youknowone merged commit cb87fa3 into RustPython:main Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants