This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年05月29日 10:46 by mponweiser, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| patch12206.diff | vinay.sajip, 2011年06月11日 21:56 | |||
| Messages (7) | |||
|---|---|---|---|
| msg137178 - (view) | Author: Martin Ponweiser (mponweiser) | Date: 2011年05月29日 10:46 | |
I hope the title is self-explanatory. |
|||
| msg137246 - (view) | Author: Petri Lehtinen (petri.lehtinen) * (Python committer) | Date: 2011年05月30日 08:10 | |
The name of the "level" parameter to LogRecord constructor is correct in the documentation (I checked the code). The only inconsitency that I see is that the corresponding attribute name of LogRecord is "levelno". |
|||
| msg137247 - (view) | Author: Martin Ponweiser (mponweiser) | Date: 2011年05月30日 08:28 | |
You are right, I should have looked closer -- sorry to all involved. Nevertheless this caused some confusion here. I guess mentioning the inconsistency in the documentation is out of the question. On Mon, May 30, 2011 at 10:10 AM, Petri Lehtinen <report@bugs.python.org>wrote: > > Petri Lehtinen <petri@digip.org> added the comment: > > The name of the "level" parameter to LogRecord constructor is correct in > the documentation (I checked the code). The only inconsitency that I see is > that the corresponding attribute name of LogRecord is "levelno". > > ---------- > nosy: +petri.lehtinen > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue12206> > _______________________________________ > |
|||
| msg137248 - (view) | Author: Petri Lehtinen (petri.lehtinen) * (Python committer) | Date: 2011年05月30日 08:33 | |
Martin Ponweiser wrote: > I guess mentioning the inconsistency in the documentation is out of > the question. No, not at all. If you have a good wording in your mind, please share it :) Or even better, write a patch. |
|||
| msg138184 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2011年06月11日 21:56 | |
Attached is a simple patch clarifying that the level argument in the constructor maps to the two LogRecord attributes, levelno and levelname, |
|||
| msg138187 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年06月11日 22:04 | |
New changeset bb6fe43191c0 by Vinay Sajip in branch '3.2': Issue #12206: documentation for LogRecord constructor updated re. the level argument. http://hg.python.org/cpython/rev/bb6fe43191c0 New changeset 596adf14914c by Vinay Sajip in branch 'default': Merged documentation update for issue #12206. http://hg.python.org/cpython/rev/596adf14914c |
|||
| msg138247 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年06月13日 14:00 | |
New changeset 5fbf0d010276 by Vinay Sajip in branch '2.7': Closes #12206: documentation update for LogRecord constructor and Formatter.formatTime. http://hg.python.org/cpython/rev/5fbf0d010276 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:17 | admin | set | github: 56415 |
| 2011年06月13日 14:00:44 | python-dev | set | status: open -> closed resolution: fixed messages: + msg138247 stage: resolved |
| 2011年06月12日 20:28:14 | eric.araujo | set | files: - unnamed |
| 2011年06月11日 22:06:59 | vinay.sajip | set | assignee: docs@python -> vinay.sajip |
| 2011年06月11日 22:04:43 | python-dev | set | nosy:
+ python-dev messages: + msg138187 |
| 2011年06月11日 21:56:33 | vinay.sajip | set | files:
+ patch12206.diff keywords: + patch messages: + msg138184 |
| 2011年05月30日 08:33:18 | petri.lehtinen | set | messages: + msg137248 |
| 2011年05月30日 08:28:29 | mponweiser | set | files:
+ unnamed messages: + msg137247 |
| 2011年05月30日 08:10:14 | petri.lehtinen | set | nosy:
+ petri.lehtinen messages: + msg137246 |
| 2011年05月29日 16:44:08 | r.david.murray | set | nosy:
+ vinay.sajip |
| 2011年05月29日 10:46:59 | mponweiser | create | |