Skip to content

[3.12] gh-119189: Fix the power operator for Fraction (GH-119242) - #119835

Merged
serhiy-storchaka merged 1 commit into
python:3.12from
miss-islington:backport-b9965ef-3.12
Jul 16, 2024
Merged

serhiy-storchaka merged 1 commit into
python:3.12from
miss-islington:backport-b9965ef-3.12

Conversation

@miss-islington

@miss-islington miss-islington commented May 31, 2024 •

Copy link
Copy Markdown
Contributor

When using the ** operator or pow() with Fraction as the base
and an exponent that is not rational, a float, or a complex, the
fraction is no longer converted to a float.
(cherry picked from commit b9965ef)

Co-authored-by: Joshua Herman 30265+zitterbewegung@users.noreply.github.com

When using the ** operator or pow() with Fraction as the base
and an exponent that is not rational, a float, or a complex, the
fraction is no longer converted to a float.
(cherry picked from commit b9965ef)

Co-authored-by: Joshua Herman <30265+zitterbewegung@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants