[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-08-07 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +20911 pull_request: https://github.com/python/cpython/pull/21767 ___ Python tracker ___ __

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-03-19 Thread Maxwell Bernstein
Maxwell Bernstein added the comment: Okay, well it doesn't provide the desired behavior of raising the error when switching back and forth between manual and auto numbering, so I am looking into that. -- ___ Python tracker

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-03-19 Thread Maxwell Bernstein
Maxwell Bernstein added the comment: Looks like the patch solves my problem, so I am going to update my PR sometime today. -- ___ Python tracker ___ _

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-03-19 Thread Maxwell Bernstein
Maxwell Bernstein added the comment: I'll take a look at the patch and see if this solves my problem. If it does, I'll update my PR with tests. -- ___ Python tracker ___

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-03-19 Thread Eric V. Smith
Eric V. Smith added the comment: It would be good if someone could convert this to a pull request and beef up the tests. -- ___ Python tracker ___ ___

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-03-19 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +tekknolagi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2020-03-19 Thread Eric V. Smith
Change by Eric V. Smith : -- versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2016-06-17 Thread Ned Deily
Changes by Ned Deily : -- nosy: +eric.smith stage: -> patch review versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2016-06-13 Thread Tommy Beadle
Changes by Tommy Beadle : -- keywords: +patch Added file: http://bugs.python.org/file43376/0001-Issue-27307-Support-index-attribute-access-for-unnum.patch ___ Python tracker ___

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2016-06-13 Thread Tommy Beadle
New submission from Tommy Beadle: Support for unnumbered fields in string.Formatter.format was added in http://bugs.python.org/issue13598, however, it does not support accessing an index or attribute of an unnumbered field like str.format does. Instead, it raises an unhelpful "KeyError: ''":