[Orbit-python-list] [patch] segmentation fault with __import__.__doc__
Status: Inactive
Brought to you by:
tack
From: Christian R. R. <ki...@as...> - 2001-10-11 14:01:37
|
Tack, The attached patch solves a SEGV which occurs when python code refers to __import__.__doc__ after importing CORBA. The patch looks up the default docstring for __import__, copies it and attaches it to our new handler. The alternative implementation is simply setting the docstring to "". But in our case, I think it's worth preserving the original message, since it doesn't cost us anything. [ To anybody wondering about 0.3.2, I'd really like to ship it wth no known SEGVs. If you know of any case, please report and I'll do an expedited fix. Brad, your patch is integrated into CVS, thanks. ] Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL |