Message47226
Logged In: YES
user_id=55188
Surprisingly, it doesn't affect source code lines. But, I'm
still wondering why it isn't counted as a distinct line. :)
>>> raise ValueError
Traceback (most recent call last):
File "<pyshell#3>", line 1, in -toplevel-
raise ValueError
ValueError
>>> if 1:
pass
raise ValueError
Traceback (most recent call last):
File "<pyshell#9>", line 3, in -toplevel-
raise ValueError
ValueError
Okay. I agree that it's too late to change behavior, but it
may need to write some errata item about this inconsistency
of IDLE vs terminal interactive mode on documentation. |
|
Date |
User |
Action |
Args |
2007-08-23 15:40:33 | admin | link | issue1061803 messages |
2007-08-23 15:40:33 | admin | create | |
|