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 division for integers #312

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

anibali
Copy link
Contributor

@anibali anibali commented Sep 20, 2023

This is a possible fix for #309. Changes introduced in #307 made it so that the float result of division on an Integer is wrapped as an Integer, which is incorrect.

I have included a test case which demonstrates the issue.

@frostming frostming merged commit 1b2a53f into python-poetry:master Sep 20, 2023
22 checks passed
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