Notes
I was stuck on this issue when getting at "PyFrameObject *f" from the current frame, but in my current implementation I've sidestepped this by simply writing a pretty-printer for PyFrameObject* which gdb successfully invokes during a backtrace.
(Was also help up for a while by this now-fixed GCC issue.
See also this bug: https://bugzilla.redhat.com/show_bug.cgi?id=552654
First attempt at auto-loading for python 2 was built in rawhide for python 2 as python-2.6.4-14.fc13 but the core python rpm has gained a dep on "/builddir/build/BUILDROOT/python-2.6.4-14.fc13.i386/usr/lib/python2.6" (see http://koji.fedoraproject.org/koji/buildinfo?buildID=154675 and http://koji.fedoraproject.org/koji/rpminfo?rpmID=1803012 ).
- Identified the bug (my fault) and provided fix: https://bugzilla.redhat.com/show_bug.cgi?id=562906 ; hacked around it in python.spec
- Older builds had the -gdb.py in /usr/lib, but this generated noise when ldconfig is run: https://bugzilla.redhat.com/show_bug.cgi?id=562980 (these were python-2.6.4-15.fc13 python3-3.1.1-23.fc13)