From: Benjamin Peterson Date: Wed, 30 Jul 2008 17:45:10 +0000 (+0000) Subject: backport r64751 X-Git-Tag: v2.6b3~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0bf76d3cfff7a0cb52baeadf635caaa177f6b55;p=python backport r64751 --- diff --git a/Objects/exceptions.c b/Objects/exceptions.c index c0254ff4a1..eeebb5cb2d 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -2045,6 +2045,7 @@ _PyExc_Init(void) PRE_INIT(SystemError) PRE_INIT(ReferenceError) PRE_INIT(MemoryError) + PRE_INIT(BufferError) PRE_INIT(Warning) PRE_INIT(UserWarning) PRE_INIT(DeprecationWarning) @@ -2112,6 +2113,7 @@ _PyExc_Init(void) POST_INIT(SystemError) POST_INIT(ReferenceError) POST_INIT(MemoryError) + POST_INIT(BufferError) POST_INIT(Warning) POST_INIT(UserWarning) POST_INIT(DeprecationWarning)