This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dormouse759
Recipients Dormouse759, cstratak, jkloth, koobs, mcepl, mi, vstinner
Date 2018-06-15.15:25:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Those -g switches you see there are during compile-time.
For this to work, you need to enable it also during link/time:
./configure --enable-optimizations --with-lto LDFLAGS="-g"

Except for py-bt, you should also try bt. With this link flag enabled, I can observe significant slowdown on my machine during the backtrace when using bt command (At least when I let the PGO do all the profiling, when compiled with the sed edit you posted here, I observe none).
Date User Action Args
2018-06-15 15:25:31Dormouse759setrecipients: + Dormouse759, vstinner, jkloth, mcepl, koobs, cstratak, mi
2018-06-15 15:25:31Dormouse759setmessageid: <>
2018-06-15 15:25:31Dormouse759linkissue30345 messages
2018-06-15 15:25:31Dormouse759create