]> granicus.if.org Git - python/commit
Slight reworking to make it more useful for debugging
authorBarry Warsaw <barry@python.org>
Tue, 23 Jan 2001 16:42:01 +0000 (16:42 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 23 Jan 2001 16:42:01 +0000 (16:42 +0000)
commit0c63fe9b54379e635b54fea4060b01e0feddb7fb
tree0543dc5adfb408518f668684c17d9e12025eb7a1
parent7d23b59e3433cfebb917876a9a1a13b622a850c1
Slight reworking to make it more useful for debugging
Py_Initialize()/Py_Finalize() loop leaks.

- allow an optional 3rd argument which is the loop count.  -1 means
  infloop (the default).

- Add a setting of Py_NoSiteFlag=1, but leave it commented out by
  default.
Demo/embed/loop.c