[issue28146] Confusing error messages in str.format()

2021-05-14 Thread STINNER Victor
STINNER Victor added the comment: commit 4aeee0b47b3a2b604bbac37040320ffc88c291f2 Author: Irit Katriel Date: Thu May 13 21:55:55 2021 +0100 bpo-28146: Fix a confusing error message in str.format() (GH-24213) Automerge-Triggered-By: GH:pitrou --

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: It seems like this issue is entirely fixed now, closing. -- nosy: +pitrou resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread miss-islington
miss-islington added the comment: New changeset 133013e8a1ecd570266de766e2df9745a24343be by Miss Islington (bot) in branch '3.9': bpo-28146: Fix a confusing error message in str.format() (GH-24213) https://github.com/python/cpython/commit/133013e8a1ecd570266de766e2df9745a24343be --

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread miss-islington
miss-islington added the comment: New changeset 2d780237d95cd3d95401f52be2edeac8b458eb68 by Miss Islington (bot) in branch '3.10': bpo-28146: Fix a confusing error message in str.format() (GH-24213) https://github.com/python/cpython/commit/2d780237d95cd3d95401f52be2edeac8b458eb68

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +24755 pull_request: https://github.com/python/cpython/pull/26111 ___ Python tracker ___

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +24754 pull_request: https://github.com/python/cpython/pull/26110 ___ Python tracker

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +24756 pull_request: https://github.com/python/cpython/pull/26112 ___ Python tracker ___

[issue28146] Confusing error messages in str.format()

2021-05-13 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28146] Confusing error messages in str.format()

2021-01-13 Thread Irit Katriel
Irit Katriel added the comment: My PR fixes the second case ('{: }') and Serhiy's PR on Issue27772 fixes the first case ('{:04}'). -- ___ Python tracker ___

[issue28146] Confusing error messages in str.format()

2021-01-13 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 4.0 -> 5.0 pull_requests: +23040 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24213 ___ Python tracker

[issue28146] Confusing error messages in str.format()

2016-09-14 Thread Eric V. Smith
Eric V. Smith added the comment: See also issue 27772. The difference in the error messages is due to the first ones looking for specific invalid combinations (in this case things the string formatter does not understand), and the last one which is "I have no idea what you're asking for".

[issue28146] Confusing error messages in str.format()

2016-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: Confusing error examples in str.format() -> Confusing error messages in str.format() ___ Python tracker