[issue8482] test_gdb - "(unable to read python frame information)" mismatch

Nick Coghlan report at bugs.python.org
Thu Apr 22 15:46:30 CEST 2010


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Thanks, I understood your summary significantly better than I did the bug discussion :)

Any of your 3 options sounds reasonable to me (although i. sounds potentially fragile in the face of different versions of gcc, so iii. might be necessary anyway).

The quick and dirty approach would be a variant of ii. that just skipped the offending test for GCC on x86_64 machines. The platform library would make that fairly straightforward:

>>> platform.python_compiler()
'GCC 4.4.1'
>>> platform.machine()
'x86_64'

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8482>
_______________________________________


More information about the Python-bugs-list mailing list