ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:54482] [ruby-trunk - Bug #8303][Open] YAML does not persist Exception#backtrace
@ 2013-04-20 14:47 josh.cheek (Josh Cheek)
  2013-06-04 14:52 ` [ruby-core:55304] [ruby-trunk - Bug #8303][Assigned] " ayumin (Ayumu AIZAWA)
  2019-01-09 21:54 ` [ruby-core:90952] [Ruby trunk Bug#8303][Closed] " tenderlove
  0 siblings, 2 replies; 3+ messages in thread
From: josh.cheek (Josh Cheek) @ 2013-04-20 14:47 UTC (permalink / raw)
  To: ruby-core


Issue #8303 has been reported by josh.cheek (Josh Cheek).

----------------------------------------
Bug #8303: YAML does not persist Exception#backtrace
https://bugs.ruby-lang.org/issues/8303

Author: josh.cheek (Josh Cheek)
Status: Open
Priority: Normal
Assignee: 
Category: 
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:55304] [ruby-trunk - Bug #8303][Assigned] YAML does not persist Exception#backtrace
  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)
  2019-01-09 21:54 ` [ruby-core:90952] [Ruby trunk Bug#8303][Closed] " tenderlove
  1 sibling, 0 replies; 3+ messages in thread
From: ayumin (Ayumu AIZAWA) @ 2013-06-04 14:52 UTC (permalink / raw)
  To: ruby-core


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:90952] [Ruby trunk Bug#8303][Closed] YAML does not persist Exception#backtrace
  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 ` [ruby-core:55304] [ruby-trunk - Bug #8303][Assigned] " ayumin (Ayumu AIZAWA)
@ 2019-01-09 21:54 ` tenderlove
  1 sibling, 0 replies; 3+ messages in thread
From: tenderlove @ 2019-01-09 21:54 UTC (permalink / raw)
  To: 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 `<main>'"]

end



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-09 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [ruby-core:55304] [ruby-trunk - Bug #8303][Assigned] " ayumin (Ayumu AIZAWA)
2019-01-09 21:54 ` [ruby-core:90952] [Ruby trunk Bug#8303][Closed] " tenderlove

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).