Skip to content

Conversation

@crazymerlyn
Copy link
Contributor

Rustpython includes the test added in python/cpython#65, but not the behavior, leading to the test being disabled. This patches RustPython with the above pr to update from_float behavior when passed an int in order to pass the test.

Copy link
Member

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for contributing!

For posterity: this is updating _pydecimal to a newer version from CPython.

@coolreader18 coolreader18 merged commit eeb719e into RustPython:main Sep 22, 2024
@crazymerlyn crazymerlyn deleted the decimal-from-float branch September 22, 2024 04:46
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.

2 participants