Message60969
| Author |
lemburg |
| Recipients |
| Date |
2006年08月14日.11:03:41 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Carried over from Patch #1538956 description:
During testing I found that the warning registry
defaults to only issueing warnings once per module and
line number.
I suppose this is enough for debugging code, but it
feels weird when trying things in the interactive
session, as you only get the warnings once in that
context (and for the whole session), regardless of the
fact that you're entering new lines of code all the time.
The reason is that the warning framework registers
warnings based on line number which usually is 1 in
interactive sessions.
In general, it might be a better idea to have a single
global warning registry and then include the module
name or id in the registry key. Currently, the warning
framework creates a new registry per (module) context.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年01月20日 09:58:54 | admin | link | issue1539925 messages |
| 2008年01月20日 09:58:54 | admin | create |
|