Re: [Pyobjc-dev] PyObjC trunk 64-bit bridgesupport patch
Brought to you by:
ronaldoussoren
|
From: James R E. <Jam...@lr...> - 2009-04-24 13:01:02
|
And here's the follow-up patch I referred to yesterday. This one modifies parsexml.m to avoid a segfault on malformed typestrings (at least malformed such that the type spec is missing). It also modifies obj/_bridgesupport.py to output a more user-friendly warning. I'm not sure this is necessarily the right approach ... perhaps it would be better to simply ignore invalid signatures instead of the entire module. But at least now the user will see a meaningful error rather than a cryptic segfault when loading frameworks with faulty bridgesupport metadata. Cheers! James |