Bug #1248: e.exception(e) returns self http://redmine.ruby-lang.org/issues/show/1248 Author: Tomas Matousek Status: Open, Priority: Normal ruby -v: ruby 1.9.0 (2007-12-25 revision 14709) [i386-mswin32] Exception#exception(arg) instance method should return a new exception of the same class as self with message arg. It does so for any object passed in as an argument except for if e is passed in. I don't see any reason for special casing the method this way. Repro: e = Exception.new p e.exception(e).object_id == e.object_id # => true; it should return false ---------------------------------------- http://redmine.ruby-lang.org