dmh2000 wrote:
> I recently complained elsewhere that Python doesn't have multiline
> comments. 
It seems you have a bad editor if it can't conveniently
add and remove comment markers for arbitrary blocks in
your source. (Maybe you just didn't find this feature.)

That every comment line begins with a special symbol just
adds clarity. It's a bonus.  C++ introduced // as comment
symbol for this purpose (but was stuck with /* and */ due
to backward compatibility reasons).  Ada, while otherwise
similar to Pascal, adopted -- to end of row instead of (*
and *) etc.

An editor that adds/removes '# ' in the beginning of each
marked line is fairly bullet proof. Adding e.g. /* to the
beginning of a block you want to comment out, & */ to the
end, breaks if you have /* */ style comments in the block!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to