From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id AD0A6211B4 for ; Wed, 9 Jan 2019 21:54:28 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 4EF351216D0; Thu, 10 Jan 2019 06:54:24 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 3C6A312141F for ; Thu, 10 Jan 2019 06:54:22 +0900 (JST) Received: by filter0030p3mdw1.sendgrid.net with SMTP id filter0030p3mdw1-22480-5C366D8A-36 2019-01-09 21:54:18.417852415 +0000 UTC m=+165751.971301071 Received: from herokuapp.com (ec2-54-226-205-145.compute-1.amazonaws.com [54.226.205.145]) by ismtpd0016p1iad2.sendgrid.net (SG) with ESMTP id aAV1_IvqTKmL7s1pPcCfOg for ; Wed, 09 Jan 2019 21:54:18.386 +0000 (UTC) Date: Wed, 09 Jan 2019 21:54:19 +0000 (UTC) From: tenderlove@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 66383 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 8303 X-Redmine-Issue-Author: josh.cheek X-Redmine-Issue-Assignee: tenderlovemaking X-Redmine-Sender: tenderlovemaking X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6BX3HiN6iKfuf1joWiYulbuxzq8pxqjAh22P oVbU935vk6TXUINAWmNb9oAQ+bR1DRNNKKX25wFCRp+4E7tos8U8v9bQaoQEf9/TMWgbqW86+ZHvZk 6vX86ohEko86znnTnh5ak9nMOp47xaoNRz7iKFgWxy5xNwjnjs2VL4ZU8A== X-ML-Name: ruby-core X-Mail-Count: 90952 Subject: [ruby-core:90952] [Ruby trunk Bug#8303][Closed] YAML does not persist Exception#backtrace X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #8303 has been updated by tenderlovemaking (Aaron Patterson). Status changed from Assigned to Closed Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN) This is fixed here: https://github.com/ruby/psych/pull/382 ---------------------------------------- Bug #8303: YAML does not persist Exception#backtrace https://bugs.ruby-lang.org/issues/8303#change-76158 * Author: josh.cheek (Josh Cheek) * Status: Closed * Priority: Normal * Assignee: tenderlovemaking (Aaron Patterson) * Target version: * ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0] * Backport: ---------------------------------------- require 'yaml' begin raise "omg" rescue # yaml loses the backtrace YAML.load(YAML.dump $!).backtrace # => nil # marshal persists the backtrace Marshal.load(Marshal.dump $!).backtrace # => ["-:4:in `
'"] end -- https://bugs.ruby-lang.org/