This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] work around a crash


Tom Tromey wrote:
I'm checking this in on the python branch.

Phil pointed out a crash when fetching a field list for a type.  In
this case, the type of the field was NULL.  I'm not sure why this can
happen, though I suspect missing debug info.

I changed the Python code to return None as the type attribute of a
field like this.
Thanks, I noticed it a few times when I was looking at the derived class issue. Not sure either how a field type can be NULL. I think returning None here is ok too.

Regards

Phil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]