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 2008年07月17日 09:51 by schuppenies, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| idle.patch | schuppenies, 2008年07月17日 09:51 | |||
| verify.py | schuppenies, 2008年07月17日 09:53 | |||
| Messages (2) | |||
|---|---|---|---|
| msg69879 - (view) | Author: Robert Schuppenies (schuppenies) * (Python committer) | Date: 2008年07月17日 09:51 | |
Idle does not use the 'line' argument for its showwarning function. This results in the DeprecationWarning "functions overriding warnings.showwarning() must support the 'line' argument", or, when called from within Idle "TypeError: idle_formatwarning_subproc() takes exactly 4 arguments (5 given)". The error can be reproduced from within Idle as well as demonstrated with verify.py. The attached patch applies the behavior of the default warnings implementation. |
|||
| msg74850 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年10月16日 19:40 | |
Thanks! Applied in r66922. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:36 | admin | set | github: 47641 |
| 2008年10月16日 19:40:28 | benjamin.peterson | set | status: open -> closed resolution: fixed messages: + msg74850 |
| 2008年10月16日 16:17:04 | benjamin.peterson | set | assignee: benjamin.peterson nosy: + benjamin.peterson |
| 2008年07月17日 09:53:23 | schuppenies | set | files: + verify.py |
| 2008年07月17日 09:51:53 | schuppenies | create | |