[issue41681] f-string error description seems wrong

2020-09-02 Thread Hanish
Change by Hanish : -- pull_requests: +21150 pull_request: https://github.com/python/cpython/pull/22059 ___ Python tracker ___ ___

[issue41681] f-string error description seems wrong

2020-09-01 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41681] f-string error description seems wrong

2020-09-01 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset c16a2a1b643d3e04f86780e2c9e66c3f9f322560 by Miss Islington (bot) in branch '3.9': bpo-41681: Fix for `f-string/str.format` error description when using 2 `,` in format specifier (GH-22036) (GH-22041)

[issue41681] f-string error description seems wrong

2020-09-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21138 pull_request: https://github.com/python/cpython/pull/22041 ___ Python tracker

[issue41681] f-string error description seems wrong

2020-09-01 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 0d6aa7f0ee38eb453bc8f73bf4830e6172be2f35 by han-solo in branch 'master': bpo-41681: Fix for `f-string/str.format` error description when using 2 `,` in format specifier (GH-22036)

[issue41681] f-string error description seems wrong

2020-08-31 Thread Hanish
Hanish added the comment: I have raised a pull request for the fix https://github.com/python/cpython/pull/22036. Your review is appreciated :) -- ___ Python tracker ___

[issue41681] f-string error description seems wrong

2020-08-31 Thread Hanish
Change by Hanish : -- keywords: +patch pull_requests: +21134 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22036 ___ Python tracker ___

[issue41681] f-string error description seems wrong

2020-08-31 Thread Eric V. Smith
Change by Eric V. Smith : -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41681] f-string error description seems wrong

2020-08-31 Thread Hanish
Hanish added the comment: Sure. Thanks for the quick response :) Let me see if i can try to come up with something :) -- versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue41681] f-string error description seems wrong

2020-08-31 Thread Eric V. Smith
Eric V. Smith added the comment: It has to do with how the specification for the mini-language is parsed and how the defaults work. It could probably be fixed, but I'm personally not super motivated to track it down. But I'd look at a patch! I'm going to remove versions that we wouldn't

[issue41681] f-string error description seems wrong

2020-08-31 Thread Hanish
New submission from Hanish : There seems to an error in the `f-string` error description when one do: >>> f'{1:,,}' Traceback (most recent call last): File "", line 1, in ValueError: Cannot specify both ',' and '_'. >>> The error seems to be that, i am not specifying both ',' and '_',