1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Charles Oliver Nutter 33641e00cd
Remove private_iv_get
The only remaining use of this function was to get the internal
message object from an exception's hidden `mesg` instance
variable to allow it to be dumped wiithout converting to a string.

As discussed in #103, this exposes internal implementation details
of CRuby, and ultimately does not provide any real utility to the
user since they can't directly inspect this hidden variable. The
test change here is to reflect CRuby behavior that denies equality
if the internal message objects do not match, as is the case after
the exception has been loaded and now has a simple String value.

The impact to users is that exceptions with special hidden message
objects will convert those objects to String during marshaling
through YAML. I believe this only affects NameError and its
descendants, since users can't set this field directly on their
own exception types.

Fixes #103.
2020-09-25 13:11:32 +09:00
..
-test- ext/-test-/RUBY_ALIGNOF: skip C++ when no compiler 2020-09-25 11:38:33 +09:00
bigdecimal sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
cgi/escape sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
continuation sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
coverage sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
date sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
dbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
digest sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
etc sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fcntl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fiber Update dependencies 2019-11-18 23:16:22 +09:00
fiddle sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
gdbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
io [ruby/io-wait] update required_ruby_version 2020-09-19 17:47:40 +09:00
json sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
monitor sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
nkf sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
objspace Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise 2020-09-15 09:18:13 -07:00
openssl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
pathname Optimize Pathname#relative? / absolute? 2020-09-14 14:18:23 -04:00
psych Remove private_iv_get 2020-09-25 13:11:32 +09:00
pty sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
racc/cparse sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
rbconfig/sizeof sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
readline sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
ripper Introduce Ractor mechanism for parallel execution 2020-09-03 21:11:06 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket Show deprecation warning on Socket.gethostbyname and Socket.gethostbyaddr 2020-08-29 17:18:59 +09:00
stringio [ruby/stringio] Bump version to 0.1.4 2020-08-27 23:55:17 +09:00
strscan Document that StringScanner#matched_size returns size in bytes [ci skip] 2020-09-02 10:41:49 -07:00
syslog Promote syslog to default gems 2020-09-10 20:42:53 +09:00
win32 Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
win32ole win32ole: separate global variable declarations and definitions 2020-05-10 21:37:59 +09:00
zlib [ruby/zlib] Add Zlib::GzipReader.zcat for handling multiple gzip streams in gz file 2020-09-14 17:52:20 +09:00
.document
extmk.rb Configure static extensions only if in charge 2019-11-19 15:11:41 +09:00
Setup Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.atheos Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.nt Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00