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 2012年01月25日 15:20 by anacrolix, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| logging-uncovered-standarderror.patch | anacrolix, 2012年01月25日 15:20 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg151948 - (view) | Author: Matt Joiner (anacrolix) | Date: 2012年01月25日 15:20 | |
There's a lingering StandardError referenced in the logging module. StandardError was removed in Python 3, and execution across this code path generates a NameError: File "/home/matt/src/cpython/Lib/logging/__init__.py", line 291, in __init__ except StandardError: #pragma: no cover NameError: global name 'StandardError' is not defined Patch attached. |
|||
| msg151949 - (view) | Author: Matt Joiner (anacrolix) | Date: 2012年01月25日 16:15 | |
Interesting this also occurs in 3.2 and 2.7, but not 2.6 or 3.1. It's probably not an error in 2.x tho. |
|||
| msg151952 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2012年01月25日 17:37 | |
> Interesting this also occurs in 3.2 and 2.7, but not 2.6 or 3.1 Most likely it happened because a fix was backported and this got missed. I'll take care of it. |
|||
| msg151957 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年01月25日 17:50 | |
New changeset e506848d6381 by Vinay Sajip in branch '3.2': Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch. http://hg.python.org/cpython/rev/e506848d6381 New changeset fec45282dc28 by Vinay Sajip in branch 'default': Closes #13859: Merged fix from 3.2 - thanks to Matt Joiner for spotting this and the patch. http://hg.python.org/cpython/rev/fec45282dc28 |
|||
| msg151990 - (view) | Author: Matt Joiner (anacrolix) | Date: 2012年01月26日 04:10 | |
Cheers, thanks for the fast turn around. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:26 | admin | set | github: 58067 |
| 2012年01月26日 04:10:43 | anacrolix | set | messages: + msg151990 |
| 2012年01月25日 17:50:25 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg151957 resolution: fixed stage: patch review -> resolved |
| 2012年01月25日 17:37:34 | vinay.sajip | set | assignee: vinay.sajip messages: + msg151952 |
| 2012年01月25日 16:15:11 | anacrolix | set | messages:
+ msg151949 versions: + Python 2.7, Python 3.2 |
| 2012年01月25日 15:27:44 | brian.curtin | set | nosy:
+ vinay.sajip components: - 2to3 (2.x to 3.x conversion tool) stage: patch review |
| 2012年01月25日 15:20:49 | anacrolix | create | |