From: "ayumin (Ayumu AIZAWA)" <ayumu.aizawa@gmail.com>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:55304] [ruby-trunk - Bug #8303][Assigned] YAML does not persist Exception#backtrace
Date: Tue, 4 Jun 2013 23:52:54 +0900 [thread overview]
Message-ID: <redmine.journal-39698.20130604235253@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-8303.20130420234743@ruby-lang.org
Issue #8303 has been updated by ayumin (Ayumu AIZAWA).
Category set to ext
Status changed from Open to Assigned
Assignee set to tenderlovemaking (Aaron Patterson)
----------------------------------------
Bug #8303: YAML does not persist Exception#backtrace
https://bugs.ruby-lang.org/issues/8303#change-39698
Author: josh.cheek (Josh Cheek)
Status: Assigned
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: ext
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
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 `<main>'"]
end
--
http://bugs.ruby-lang.org/
next prev parent reply other threads:[~2013-06-04 15:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-20 14:47 [ruby-core:54482] [ruby-trunk - Bug #8303][Open] YAML does not persist Exception#backtrace josh.cheek (Josh Cheek)
2013-06-04 14:52 ` ayumin (Ayumu AIZAWA) [this message]
2019-01-09 21:54 ` [ruby-core:90952] [Ruby trunk Bug#8303][Closed] " tenderlove
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-39698.20130604235253@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).