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

Stop changing the default decimal precision globally #59

Closed
benjaminrigaud opened this issue Dec 13, 2023 · 1 comment
Closed

Stop changing the default decimal precision globally #59

benjaminrigaud opened this issue Dec 13, 2023 · 1 comment
Assignees

Comments

@benjaminrigaud
Copy link

Hi,

in https://github.com/thombashi/DataProperty/blob/master/dataproperty/_function.py#L13
The decimal context is modified and the default precision is changed to 60.

It changes the global decimal behavior of any code importing your library.

thombashi added a commit that referenced this issue Dec 31, 2024
…eger_digit` function, not global: #59

Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
@thombashi thombashi self-assigned this Dec 31, 2024
@thombashi
Copy link
Owner

@benjaminrigaud
Thank you for your report.
This problem has been fixed in DataProperty 1.0.2.

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

No branches or pull requests

2 participants