]> granicus.if.org Git - python/commit
Quality control, meet exceptions.c, round two.
authorMichael W. Hudson <mwh@python.net>
Sun, 28 May 2006 17:40:29 +0000 (17:40 +0000)
committerMichael W. Hudson <mwh@python.net>
Sun, 28 May 2006 17:40:29 +0000 (17:40 +0000)
commit96495ee6ddd2364e6e867c1e503c5797af907263
treed200ec990d3063a99f8aac29ab47f70b65aec243
parent8301c7923ddc90b23b8ab37c29eba6cd5df06669
Quality control, meet exceptions.c, round two.

Make some functions that should have been static static.

Fix a bunch of refleaks by fixing the definition of
MiddlingExtendsException.

Remove all the __new__ implementations apart from
BaseException_new.  Rewrite most code that needs it to cope with
NULL fields (such code could get excercised anyway, the
__new__-removal just makes it more likely).  This involved
editing the code for WindowsError, which I can't test.

This fixes all the refleaks in at least the start of a regrtest
-R :: run.
Objects/exceptions.c