[ python-Feature Requests-1739679 ] add multi-line comments

SourceForge.net noreply at sourceforge.net
Tue Jun 19 17:31:28 CEST 2007


Feature Requests item #1739679, was opened at 2007-06-19 11:57
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1739679&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Chris (cvogtaz)
Assigned to: Nobody/Anonymous (nobody)
Summary: add multi-line comments

Initial Comment:
python lacks something like

/* commentblock
lalala
more comment
another line */

which I would like to use particularily while debugging to remove some lines of code temorarily.

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-06-19 15:31

Message:
Logged In: YES 
user_id=849994
Originator: NO

For that, you should use a decent editor that can comment out multiple
lines of code at once.
Alternatively, if you don't have such an editor, you can enclose the code
in triple-quoted strings
or put an "if 0:" around it.

In any way, Guido pronounced this isn't going to happen.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1739679&group_id=5470


More information about the Python-bugs-list mailing list