Message394638
+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. |
|
| Date |
User |
Action |
Args |
| 2021-05-28 06:48:14 | mark.dickinson | set | recipients:
+ mark.dickinson, Sergey.Kirpichev |
| 2021-05-28 06:48:14 | mark.dickinson | set | messageid: <1622184494.47.0.0823959623181.issue44258@roundup.psfhosted.org> |
| 2021-05-28 06:48:14 | mark.dickinson | link | issue44258 messages |
| 2021-05-28 06:48:13 | mark.dickinson | create | |
|