<div dir="ltr"><div>All the more reason why I utilize triple quoting for "commenting out blocks". It may not be syntax-colored for comments, but it is colored obviously differently than code.<br><br></div>Another reason not to like /* ...  */ for commenting out blocks of code. That is often used for multi-line comments anyway. So, if you have multi-line comments in the code block that you need to comment out, then just doing /* ... */ around that isn't trivial. At least with triple quoting, I can alternate between triple double-quotes and triple single-quotes.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 11:48 AM, Phillip Feldman <span dir="ltr"><<a href="mailto:phillip.m.feldman@gmail.com" target="_blank">phillip.m.feldman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The downside of "if 0:" is that no editor will syntax color this as a comment.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 7:57 AM, Phillip Feldman <span dir="ltr"><<a href="mailto:phillip.m.feldman@gmail.com" target="_blank">phillip.m.feldman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK.  "if 0:" is a reasonable solution.  I will remove the block comment issue.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 3:20 AM, Jouni K. Seppänen <span dir="ltr"><<a href="mailto:jks@iki.fi" target="_blank">jks@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Benjamin Root <<a href="mailto:ben.v.root@gmail.com" target="_blank">ben.v.root@gmail.com</a>> writes:<br>
<br>
> And if I need to temporarily "comment out" a chunk of code, triple quoting<br>
> works great.<br>
<br>
</span>You can also insert an "if 0:" indented between your normal indentation<br>
levels, and end the block with "if 1:" unless you wanted to comment out<br>
to the end of the natural block.<br>
<span><font color="#888888"><br>
--<br>
Jouni K. Seppänen<br>
<a href="http://www.iki.fi/jks" rel="noreferrer" target="_blank">http://www.iki.fi/jks</a><br>
</font></span><div><div><br>
_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
<br></blockquote></div><br></div>