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.

Author hyeshik.chang
Recipients
Date 2004-11-07.13:01:45
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 15:40:33adminlinkissue1061803 messages
2007-08-23 15:40:33admincreate