This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Sergey.Kirpichev, mark.dickinson
Date 2021-05-28.06:48:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
+1 to the idea: `Decimal`, `float`, `complex` and `int` all understand the underscores; there's no good reason for `Fraction` not to.

So yes please to the PR. There should be tests that check that only the underscore rules allowed by `int` and the others are supported: e.g., `Fraction("1__2")`, and `Fraction("1_2_")` should be errors.
History
Date User Action Args
2021-05-28 06:48:14mark.dickinsonsetrecipients: + mark.dickinson, Sergey.Kirpichev
2021-05-28 06:48:14mark.dickinsonsetmessageid: <[email protected]>
2021-05-28 06:48:14mark.dickinsonlinkissue44258 messages
2021-05-28 06:48:13mark.dickinsoncreate