[issue14086] str(KeyError("Foo")) Unexpected Result

2012-02-22 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> committed/rejected superseder: -> Strings passed to KeyError do not round trip ___ Python tracker ___

[issue14086] str(KeyError("Foo")) Unexpected Result

2012-02-22 Thread David
David added the comment: Thanks, Julian. I'm closing this and marking it as a duplicate of #2651. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue14086] str(KeyError("Foo")) Unexpected Result

2012-02-22 Thread Julian Berman
Julian Berman added the comment: Hey there. Check out #2651 -- nosy: +Julian ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14086] str(KeyError("Foo")) Unexpected Result

2012-02-22 Thread David
New submission from David : The __str__() method of the KeyError class seems to put quotes around the argument given to the class. This was causing bizarre, escaped quotation marks to appear in my code (where the result of str(e) is often passed as the argument of another Exception), and it to