[issue25508] LogRecord attributes are not tuple, when logging only dict

2015-11-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a365fb0dd5e1 by Vinay Sajip in branch '2.7': Issue #25508: Clarify documentation on LogRecord args attribute. https://hg.python.org/cpython/rev/a365fb0dd5e1 New changeset 01998efb605a by Vinay Sajip in branch '3.4': Issue #25508: Clarify documentati

[issue25508] LogRecord attributes are not tuple, when logging only dict

2015-10-29 Thread R. David Murray
R. David Murray added the comment: I believe this is due to the way % formatting works, and so is a doc bug. Vinay will know for sure, of course :) -- nosy: +r.david.murray, vinay.sajip ___ Python tracker ___

[issue25508] LogRecord attributes are not tuple, when logging only dict

2015-10-29 Thread Ondrej Sejvl
New submission from Ondrej Sejvl: Hi, in doc https://docs.python.org/3.4/library/logging.html#logrecord-attributes there is argsYou shouldn’t need to format this yourself. The tuple of arguments merged into msg to produce message. But when I log message with 1 arg - a dict - in record