[Python-Dev] Undo indenting of macros in Include/pyport.h?

Tim Peters tim.peters at gmail.com
Wed Jul 7 04:55:19 CEST 2004


[Brett Cannon]
> Personally I would like to remove the tabs so that grepping is easier
> and more obvious.  But the tabbing is there since the #ifdef'ing goes
> three levels deep.

Use Perl instead of grep.  print if /#\s*define/.  Or learn how to
spell "whitespace" in whatever godforsaken flavor of grep you're
using.  Or upgrade to Windows and buy Source Insight <wink>.  Or ...
just don't damage the readability of the code to cater to bad tools.


More information about the Python-Dev mailing list