[issue32720] Format mini-language integer definition is incorrect

2018-02-12 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32720] Format mini-language integer definition is incorrect

2018-02-12 Thread miss-islington
miss-islington added the comment: New changeset 6708be744d032aeffab3e2cf0b064a41a719d8a1 by Miss Islington (bot) in branch '3.6': bpo-32720: Fixed the replacement field grammar documentation. (GH-5544) (GH-5547)

[issue32720] Format mini-language integer definition is incorrect

2018-02-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset a747cf6d9b87ea8c7ce3a42d09e5b966c8e83fa0 by Mariatta (Miss Islington (bot)) in branch '3.7': bpo-32720: Fixed the replacement field grammar documentation. (GH-5544) (GH-5546)

[issue32720] Format mini-language integer definition is incorrect

2018-02-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +5373 ___ Python tracker ___

[issue32720] Format mini-language integer definition is incorrect

2018-02-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +5372 ___ Python tracker ___

[issue32720] Format mini-language integer definition is incorrect

2018-02-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 7a561afd2c79f63a6008843b83733911d07f0119 by Mariatta in branch 'master': bpo-32720: Fixed the replacement field grammar documentation. (GH-5544)

[issue32720] Format mini-language integer definition is incorrect

2018-02-04 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- pull_requests: +5370 ___ Python tracker ___ ___

[issue32720] Format mini-language integer definition is incorrect

2018-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: I didn't think to check those - it looks like they have the same problem with the same fix (i.e. the actual syntax is "digit+"). -- ___ Python tracker

[issue32720] Format mini-language integer definition is incorrect

2018-02-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What about arg_name and element_index? >>> '{}'.format(123) '123' >>> '{0}'.format(123) '123' >>> '{0x0}'.format(123) Traceback (most recent call last): File "", line 1, in KeyError: '0x0' >>> '{0_0}'.format(123) Traceback

[issue32720] Format mini-language integer definition is incorrect

2018-02-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 3bd749b2122c17b835dc438cdaef63bfdfd61344 by Mariatta (Miss Islington (bot)) in branch '3.6': bpo-32720: Fixed the definition for width and precision in format mini-language doc (GH-5482) (GH-5525)

[issue32720] Format mini-language integer definition is incorrect

2018-02-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 133514e9dcea9c8cc9d9dd459b1a7fb502747d7e by Mariatta (Miss Islington (bot)) in branch '3.7': bpo-32720: Fixed the definition for width and precision in format mini-language doc (GH-5482) (GH-5524)

[issue32720] Format mini-language integer definition is incorrect

2018-02-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +5354 ___ Python tracker ___

[issue32720] Format mini-language integer definition is incorrect

2018-02-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +5353 ___ Python tracker ___

[issue32720] Format mini-language integer definition is incorrect

2018-02-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 8b5fa289fdb04b6b919cf95fa99246aa872e47a8 by Mariatta (nathankerr96) in branch 'master': bpo-32720: Fixed the definition for width and precision in format mini-language doc (GH-5482)

[issue32720] Format mini-language integer definition is incorrect

2018-02-01 Thread Nathan Kerr
Nathan Kerr added the comment: Just submitted a PR for this issue, however I only signed the CLA an hour ago so it hasn't gone through yet. This is my first contribution, I followed the guide but please let me know if I missed anything. Thanks! -- nosy:

[issue32720] Format mini-language integer definition is incorrect

2018-02-01 Thread Nathan Kerr
Change by Nathan Kerr : -- keywords: +patch pull_requests: +5313 stage: needs patch -> patch review ___ Python tracker ___

[issue32720] Format mini-language integer definition is incorrect

2018-02-01 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list

[issue32720] Format mini-language integer definition is incorrect

2018-01-29 Thread Nick Coghlan
New submission from Nick Coghlan : I just noticed that https://docs.python.org/3/library/string.html#formatspec links to the "integer" definition in the main Python grammar for the permitted format of numeric fields. This isn't accurate: ``` >>> format(10e4, ",.2f")