Message60969
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.
|
|
Date |
User |
Action |
Args |
2008-01-20 09:58:54 | admin | link | issue1539925 messages |
2008-01-20 09:58:54 | admin | create | |
|