[issue31780] Using format spec ',x' displays incorrect error message

2017-10-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Correct. Fixed. -- ___ Python tracker ___ ___

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-17 Thread Chris Angelico
Chris Angelico added the comment: Thanks for handling that Terry. I take it the PR isn't needed now? I would have done it, but I'm on the way to the US (literally posting this from the airport), and hadn't gotten to looking at this in the interval. --

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 59b5c139d2ae95b1d1da63f81c3d777932215533 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (GH-4002) (#4004)

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 28773ca7a7aa58a28e42a9eb0066acf71b5a8dc4 by Terry Jan Reedy (Dargor) in branch 'master': bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002)

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +3977 ___ Python tracker ___

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Pablo
Change by Pablo : -- keywords: +patch pull_requests: +3975 stage: needs patch -> patch review ___ Python tracker ___

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-14 Thread Eric V. Smith
Eric V. Smith added the comment: I agree there's no need for tests, since we usually don't guarantee such messages going forward. Also, I think skipping the news blurb is reasonable for this change. -- ___ Python tracker

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The formatting part of PEP 515 was implemented in #27080. Chris Angelico's initial patch https://bugs.python.org/file44152/underscores_decimal_only.patch was, as the name says, for decimal only, and added "or '_' " to the error message.

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list

[issue31780] Using format spec ',x' displays incorrect error message

2017-10-13 Thread FHTMitchell
New submission from FHTMitchell : Minor issue. Using the ',b', ',o' or ',x' raises the error ValueError("Cannot specify ',' or '_' with 'x'.",) (or equivalently for 'b' and 'o'). However, it is possible to use the format specs '_b', '_o' and '_x' in Python 3.6 due to PEP