Created attachment 376683 [details] abrt-repr.patch Description of problem: It's great that abrt shows the Python local variables in a traceback, but it would be even more useful if it used repr() instead of str() to display them. For example in bug #544865 it is impossible to determine the type of fax_number, whereas repr would tell me if it was a string, a unicode type, an integer, or whatever. Version-Release number of selected component (if applicable): abrt-1.0.0-1.fc12.x86_64 Untested patch attached.
Fixed in git. Thanks for the patch, Jirka
abrt-1.0.1-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/abrt-1.0.1-1.fc12
abrt-1.0.1-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update abrt'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12994
I'm still getting reports where repr() is not being used. For example bug #555552, from abrt 1.0.3: Local variables in innermost frame: self: <monitor.Monitor instance at 0x7faf7000b4d0> printer: HP1020-ADM033 Here's what I expect: Local variables in innermost frame: self: <monitor.Monitor instance at 0x7faf7000b4d0> printer: 'HP1020-ADM033' (i.e. quotes around the printer string to show that it's an ASCII string). Otherwise if it says None there is no way to tell the difference between the nul value and the string "None".
Yes, you're right, there was one place missing repr() fixed in git.
abrt-1.0.4-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/abrt-1.0.4-1.fc12
abrt-1.0.4-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.