[Python-Dev] static int debug = 0;

Jeremy Hylton jeremy@beopen.com
Thu, 31 Aug 2000 23:37:41 -0400 (EDT)

>>>>> "FLD" == Fred L Drake, <fdrake@beopen.com> writes:

  FLD> Jeremy Hylton writes:
  >> The change is redundant, as several people pointed out, because
  >> the C std requires debug to be initialized to 0.  I didn't
  >> realize this.  Inadvertently, however, I made the right change.
  >> The preferred style is to be explicit about initialization if
  >> other code depends on or assumes that it is initialized to a
  >> particular value -- even if that value is 0.

  FLD>   According to the BDFL?  He's told me *not* to do that if
  FLD>   setting it
  FLD> to 0 (or NULL, in case of a pointer), but I guess that was
  FLD> several years ago now (before I went to CNRI, I think).

It's these chat sessions.  They bring out the worst in him <wink>.