Message394642
On Fri, May 28, 2021 at 06:48:14AM +0000, Mark Dickinson wrote:
> 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.
Ok, I did.
In the initial version I catch int()'s exceptions to
return a correct exception details. Maybe it's better to fix
the regexp instead (don't match "wrong" strings). I think
this might be more complicated for readers... |
|
Date |
User |
Action |
Args |
2021-05-28 07:28:35 | Sergey.Kirpichev | set | recipients:
+ Sergey.Kirpichev, mark.dickinson |
2021-05-28 07:28:35 | Sergey.Kirpichev | link | issue44258 messages |
2021-05-28 07:28:35 | Sergey.Kirpichev | create | |
|