Activity
From 03/09/2014 to 03/15/2014
03/15/2014
- 11:06 PM Revision f5c2e89c (git): gc.c (objspace_xcalloc): fix GC accounting
- This hopefully works on all platforms with malloc_usable_size.
This may also trigger bugs in places which did not expect GC, too;
so maybe some existing code will need RB_GC_GUARD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45347... -
10:15 PM Revision 35664468 (git): * addr2line.c (fill_lines): return address is just after calling
- address. Therefore noreturn function with tail call's return
address may be in another function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:52 PM Bug #9543 (Closed): [Doc] Fix example in GServer documentation (lib/gserver)
- Applied in changeset r45344.
----------
* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip] - 08:52 PM Revision cfab6e0f (git): * 2014-03-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:52 PM Revision 1cefad43 (git): * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:17 PM Bug #9544: Ruby resolver not using autoport
- Just a little follow-up:
I still think that OS should take care of that, this is a wrong layer for me.
For instance: if a system is trying to choose a free port - either random or sequential - it will randomize from a pool of *free... -
04:49 PM Feature #9585: Add Object#in? to make ruby easier to read
- This probably would not be a big addition and not bother many.
I think it can be readable:
array = [1,2,3,4,5]
if 3.in? array
puts 'Yup, is in the array!'
end
I think one problem may be that it is on a Fixnum here t... -
04:00 PM Revision 516881a1 (git): merge revision(s) r45342:
- * ext/.document: remove refinement from documentable directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 PM Bug #9617: Windows7 issue with Kernel.spawn close_others => false
- Documentation patch is welcome.
-
02:40 PM Bug #9618: Pathname#cleanpath creates mixed path separators
- I like normalization in cleanpath only.
I feel normalization in initialize is too drastic.
I feel mixed separators is not clean, so it is natural to normalize in cleanpath. -
02:37 PM Feature #9625: Define `Pathname#/` to append to the path
- I feel this proposal is acceptable.
-
12:45 PM Bug #9641 (Closed): Digest libraries are built incorrectly due to ambiguous location of "extconf.h"
- This is essentially the same issue as bug #3231, "Digest Does Not Build", which has reappeared for me on CentOS 6.5 using gcc 4.4.7.
The attached patch changes the generated Makefiles so they explicitly specify the location of `extcon... -
12:09 PM Bug #9636 (Closed): Fiddle::Importer で Segmentation fault が発生する
-
11:19 AM Bug #9636: Fiddle::Importer で Segmentation fault が発生する
- Nobuyoshi Nakada wrote:
> Integerからポインタへはそのまま渡されます。
> ...
ご指摘ありがとうございます。
ご指摘の通り、修正した結果。正常に動作しました。
お騒がせをしてしまい、すみませんでした。
ご指摘ありがとうございました。 -
10:42 AM Bug #9636 (Feedback): Fiddle::Importer で Segmentation fault が発生する
- Integerからポインタへはそのまま渡されます。
Array#packでStringにしないと、参照渡しにはできません。
~~~ruby
result = @@synthe.call(input, ispeed, size = 0, phont) # ←このコードが実行された時点でコアダンプ
~~~
を
~~~ruby
size = [0].pack('i!')
result = @@synthe.call(... -
09:56 AM Revision 1cde3077 (git): * ext/.document: remove refinement from documentable directories.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:21 AM Feature #9634: [PATCH]Symbol GC
- Eric Wong wrote:
> volatile is not always enough, and tends to generate bad code.
It make sense for me.
I've removed the volatile declaration of rb_check_id_without_pindown.
https://github.com/authorNari/ruby/commit/5d5f9a63cc0594... -
02:19 AM Revision 053ead36 (git): vm_method.c: cast via VALUE
- * vm_method.c (rb_add_method, rb_attr): cast between pointer and
ID via VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 AM Revision 47aa0056 (git): configure.in: fix typo
- * configure.in (DLDFLAGS): fix typo, missing comma.
[ruby-core:61429] [Bug #9624]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:08 AM Bug #9637 (Third Party's Issue): File "ruby.h" includes "config.h" which is not in proper location
- It needs architecture dependent header files directory.
Seems an issue in `Makefile` generated by swig. -
02:03 AM Bug #9624 (Closed): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
- Applied in changeset r45339.
----------
configure.in: check symbol resolution options
* configure.in (DLDFLAGS): check for each options to control
symbol resolution. [ruby-core:61429] [Bug #9624] -
02:03 AM Revision 1eaddcaf (git): configure.in: check symbol resolution options
- * configure.in (DLDFLAGS): check for each options to control
symbol resolution. [ruby-core:61429] [Bug #9624]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:08 AM Revision 1b9ff04f (git): object.c: [DOC] merge rdoc
- * gc.c (rb_obj_id): remove unused rdoc.
* object.c (rb_obj_hash): [DOC] merge unused rdoc from rb_obj_id()
in gc.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/14/2014
-
11:02 PM Feature #9047: Alternate hash key syntax for symbols
- Looks like there is a patch already for this:
https://bugs.ruby-lang.org/issues/4276
- 10:26 PM Revision 1784c9a0 (git): * 2014-03-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:25 PM Revision b50780ea (git): * st.c (st_update): remove unnecessary assignment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 PM Bug #9639 (Rejected): libyaml not found, rubygems not functional on freebsd with ruby 2.1.0
- Please see the full report here: https://github.com/sstephenson/ruby-build/issues/509
Note that ruby -v is not functional either per below:
~~~
stealth% ruby -v
/home/me/.rbenv/versions/2.1.0/lib/ruby/2.1.0/yaml.rb:4:in `<top (re... -
08:44 PM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
- One minor follow-up: it's actually not that getrusage takes a 'long' time (relative to the cost of each lazy sweep invocation), it's the dtrace probes themselves firing. The conclusion remains the same, though GC::Profiler seems correct.
-
07:08 PM Feature #9638: [PATCH] limit IDs to 32-bits on 64-bit systems
- sparse array is described in ruby-core:55079
-
07:07 PM Feature #9638 (Rejected): [PATCH] limit IDs to 32-bits on 64-bit systems
- This should allow better use of cache-friendly lookup mechanisms such as
funny_falcon's sparse array in [ruby-core:55079]
Also limits symbol space to prevent OOM.
Some structs may also be made smaller as a result (rb_method_entry_... -
06:14 PM Bug #9637: File "ruby.h" includes "config.h" which is not in proper location
- I am afraid this is by design. On Fedora, we have overcome this issue by adding header [1] and renaming the original file(s), but I know that upstream is not happy about this ([2], my 4th point) and they will suggest you to use mkmf to s...
-
05:36 PM Bug #9637 (Third Party's Issue): File "ruby.h" includes "config.h" which is not in proper location
- In Ruby 2.0.0p451, I using SWIG to convert some C/C++ code into Ruby. However, when using GCC to compile the C++ code into Ruby and pointing GCC to the "ruby.h" file (i.e. gcc -fPIC -c test_wrap.cxx -IC:\Ruby200-x64\include\ruby-2.0.0), ...
-
05:38 PM Bug #9636: Fiddle::Importer で Segmentation fault が発生する
- Fiddle::Impoter で、 Segmentation fault が発生します。
Ruby 1.8.7-p375
Ruby 1.9.3-p545
Ruby 2.1.1-p76
いずれのバージョンでも、同様のコアダンプを発生させています。
Ruby 2.1.1-p76 で実行時のコアダンプを添付します。
実行環境は
Ubuntu 13.10 x86_64 です。CPU の Byte Order は Lit... -
05:29 PM Bug #9636 (Rejected): Fiddle::Importer で Segmentation fault が発生する
-
05:14 PM Bug #8358: TestSprintf#test_float test failure
- @naruse could you verify that r44896 fixed this on 32bit linux?
-
04:08 PM Bug #9624 (Assigned): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
-
10:07 AM Feature #9634: [PATCH]Symbol GC
- Narihiro Nakamura wrote:
> Thank you! I fixed it and rebased.
> ...
New symbol_gc branch works fine. Thanks! -
06:38 AM Feature #9634: [PATCH]Symbol GC
- Cool! I benchmarked your original version and it didn't notice obvious
regressions.
I noticed rb_check_id_without_pindown still takes a volatile arg. Is
this for GC-safety? Can we encourage RB_GC_GUARD instead for new APIs?
vol... -
05:08 AM Feature #9634: [PATCH]Symbol GC
- Kazuki Tsujimoto wrote:
> `make test-all` sometimes causes segmentation fault.
> ...
Thank you! I fixed it and rebased.
https://github.com/authorNari/ruby/commit/9cd060aab6ca9cf55971b8d8881b30f0204f71be
https://github.com/authorNar... -
06:29 AM Revision 6c08032d (git): * addr2line.c (fill_lines): fetch symbol names from ELF binary's
- symbol table if it is built with cc -g and not stripped.
Now ruby can show static symbols on Linux though glibc's
backtrace_symbols(3) don't show them.
* addr2line.c (rb_dump_backtrace_with_lines): use dladdr(3) to
detect what obj... -
04:29 AM Revision 81ed2d65 (git): NEWS: change at r45327
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:29 AM Revision a6c8346d (git): rdoc-mode.el: fill indented block
- * misc/rdoc-mode.el (rdoc-fill-paragraph): fill indented block by
list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision cac997eb (git): * doc/syntax/literals.rdoc: [DOC] Single quote strings allows escape
- of backslash as well, patch by @idupree [Fixes GH-553] [ci skip]
https://github.com/ruby/ruby/pull/553
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:08 AM Bug #7743: protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
- おおっと、間違えて変な変更をSubmitしてしまいました。無視してください
-
03:07 AM Bug #7743: protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
- Shugo Maeda wrote:
> hsbt (Hiroshi SHIBATA) wrote:
> ...
-
02:08 AM Feature #5825: Sweet instance var assignment in the object initializer
- Does anyone have a link to discussions/logs that lead to the decision to remove instance/global variables from block parameters?
-
12:33 AM Feature #5825: Sweet instance var assignment in the object initializer
- Tyler Rick wrote:
> I think CoffeeScript solved this problem quite nicely. Many constructors in CoffeeScript end up being beautiful, simple one-liners!
> ...
Sorry, it doesn look beautiful to me.
-
01:27 AM Revision 4a91fb7a (git): range.c: unused function
- * range.c (SET_EXCL): remove no longer used function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:27 AM Revision 3008ea28 (git): bignum.c: adjust condtions
- * bignum.c (maxpow{16,32,64,128}_{exp,num}): adjust preprocessor
condtions to maxpow_in_bdigit_dbl().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:27 AM Revision fc23374f (git): [DOC] add links to `Object#hash`
- add links to `Object#hash` to each #`hash` methods rdocs.
[Fixes GH-567]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:27 AM Revision f53c291a (git): string.c: [DOC] rb_str_hash_m
- * string.c (rb_str_hash_m): [DOC] hash value depends on the
encoding too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Feature #8572 (Closed): Fiber should be a Enumerable
-
12:08 AM Feature #8572: Fiber should be a Enumerable
- Koichi Sasada wrote:
> Can I close it?
Sorry for delay. Close this please.
03/13/2014
-
10:53 PM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
- I think I've figured out the discrepancy here: the dtrace probes wrap around the getrusage(2) calls that GC::Profiler bases its timings on for Mac OS X. The average lazy sweep time is quite short (single-digit microseconds per lazy sweep...
-
04:57 AM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
- I realized that these are actually measuring different things: dtrace's timestamps measure wall clock time, whereas GC::Profiler on Mac OS X uses getrusage, which measures user CPU time. It still seems weird that the two would be so dive...
-
12:40 AM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
- Worth noting: a quick read through gc.c suggested that the missing GC sweep time might be due to me not having built with GC_PROFILE_MORE_DETAIL, but even after building with that, I still see the same discrepancy where GC::Profiler is s...
-
12:31 AM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
- Uploading the two files from that gist, just to keep everything in one place.
-
12:30 AM Bug #9629 (Closed): GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
- I'm trying to square the numbers that I'm getting from GC::Profiler.total_time against those that I'm getting out of instrumentation with the GC dtrace probes embedded in Ruby, and having a hard time getting the two sources to agree.
... -
09:29 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
- Jeremy Evans wrote:
>
> ...
Conceptually Ruby does have multiple inheritance, an object `is_a?`(all included modules).
Is MRI's iclass snapshotting an implementation detail? Can it theoretically be done differently (e.g. tree that you... -
08:34 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
- First Last wrote:
> What is the objection to explaining how this works?
nobu explained how it works. However, as he is not a native English speaker, let me attempt to clarify.
In ruby, there exist pseudo-copies of modules called iclas... -
07:45 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
- First Last wrote:
> First Last wrote:
> ...
What is the objection to explaining how this works?
-
09:08 PM Bug #9627: SMTP does not properly dot-stuff an unterminated last line
- If I'm understanding this properly I think this monkey-patch is all it takes to fix it:
```
module Net
class InternetMessageIO
def using_each_crlf_line
@wbuf = ''
yield
if not @wbuf.empty? # untermina... -
09:07 PM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
- This is also happening to me when using debugger
Ruby 2.1.0, Mavericks 10.9.3 (Build 13D12), rails 4.0.3, debugger 1.6.6, rspec-rails 2.14.1
/Users/Adrian/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.3/lib/active_record/attribute_metho... -
07:10 PM Feature #5825: Sweet instance var assignment in the object initializer
- I would *love* to see this feature in Ruby. Assigning an argument to an instance variable in a constructor is something that we do in *almost every constructor we write*, so I think this should be made as easy and simple as possible, by...
-
06:05 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
- Yes, it's a very old bug.
Optional arguments have same semantics as assignments. -
05:52 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
- Nobu, are you *sure* this is a bug? This test has worked since 1.9.3, and this code was committed in 2008:
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb#L285
It's been the behavio... -
05:22 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
- Ok! I will fix the code in Rails. Thank you!
-
07:26 AM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
- Aaron Patterson wrote:
> Was this expected to break?
Yes. It was a bug.
An assignment creates a variable and it hides same name method in its RHS, as you can't call `foo` method inside `bar` method:
~~~ruby
def foo; 'foo'; en... -
04:18 PM Revision 163f9abe (git): vm_insnhelper.c: relax arity check
- * vm.c (invoke_block_from_c): add splattable argument.
* vm.c (vm_invoke_proc): disallow to splat when directly invoked.
* vm_insnhelper.c (vm_callee_setup_arg_complex, vm_callee_setup_arg):
relax arity check of yielded lambda. [ruby-... - 04:18 PM Revision 2deb6e8e (git): * 2014-03-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 PM Revision 03787200 (git): test/dl, test/fiddle: relax criteria
- * test/dl/test_{cptr,handle}.rb, test/fiddle/test_{handle,pointer}.rb:
relax memory leak criteria.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- If I understand correctly what you're saying is that it would behave as below.
~~~ruby
plus = ->(x,y) {puts x+y}
~~~
1. This would continue to work as it does today
~~~ruby
def test
yield 1,2
end
test... -
01:55 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- Today, matz and I chatted about this issue, and he decided to relax the arity check of lambda blocks.
Iff:
* just one argument is yielded
* it is an array, and
* its length is same as the number of the formal argument
the argume... -
12:46 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- I created a jruby issue https://github.com/jruby/jruby/issues/1559 to track the odd "lambda" vs "->" difference.
-
12:34 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- Finally found another implementation that behaves identically to MRI. RubyMotion acts the same with "each_with_index.map" accepting 2 args while "each_with_index.detect" raises an ArgumentError.
~~~
$ rake
Build ./build/iPhoneS... -
12:24 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- A little more digging and I found Rubinius is consistent with the lambda and -> syntax but neither raises the ArgumentError. It seems like they remove the arity check when the lambda is converted to a block
~~~
$ ruby -v -e '[1].each... -
12:20 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- Wow this gets weirder and weirder. It seems to be happening when jruby turns a lambda created with "->" syntax into a block. MRI does consistently raise ArgumentError in all 4 cases.
$ jruby -v -e 'def test(l); l.call(1); end; test(l... -
06:50 AM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- Hmmm, in JRuby, `->(){}` and `lambda{}` are different?
~~~
$ jruby -v -e '[1].each(&lambda{p :ng})'
jruby 1.7.4 (1.9.3p392) 2014-03-13 fffffff on Java HotSpot(TM) 64-Bit Server VM 1.6.0_65-b14-462-11M4609 [darwin-x86_64]
:ng
$ j... -
02:54 AM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- Ruby raises `ArgumentError` at arity mismatch when yielding to a lambda, as `test/ruby/test_lambda.rb`.
```sh
$ ruby -v -e '[1].each(&lambda{p :ng})'
ruby 2.2.0dev (2014-03-09 trunk 45302) [universal.x86_64-darwin13.0]
-e:1:in `blo... - 02:52 PM Revision 8851056b (git): * 2014-03-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:52 PM Revision 1df0e183 (git): * ext/-test-/win32/dln/libdlntest.c (dlntest_ordinal): no need to
- specify export in the source file because .def file do it.
get rid of warning on linking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 PM Feature #9634: [PATCH]Symbol GC
- `make test-all` sometimes causes segmentation fault.
I attached the backtrace log.
-
09:41 AM Feature #9634: [PATCH]Symbol GC
- Wow, great work! Congrats :-)
-
08:02 AM Feature #9634 (Closed): [PATCH]Symbol GC
- I've written a patch to collect most symbols.
PATCH: https://github.com/authorNari/ruby/compare/4a91fb7a45f0e3c...symbol_gc.patch
## Summary
* Most symbols in Ruby level are GC-able(generated by #to_sym, #intern, etc..)
* Exclu... -
01:29 PM Feature #9635: Map a hash directly to a hash
- At the risk of being terse, https://bugs.ruby-lang.org/issues/7793
-
12:59 PM Feature #9635: Map a hash directly to a hash
- Ok, what i suggest is not a valid Ruby syntax. It should be
~~~
.hashy_map { |key, value| {key => value} }
~~~
which is hardly sweeter than
~~~
.map { |key, value| [key, value] }.to_h
~~~
and also goes against common pra... -
12:42 PM Feature #9635 (Closed): Map a hash directly to a hash
- There should be a way to directly map a hash to a hash.
The current way to do it is not very graceful:
~~~
{foo: 'foo', bar: 'bar'}.map { |key, value| [key.upcase, value.reverse] }.to_h # => { :FOO => 'oof', :BAR => 'rab' }
~... -
09:11 AM Bug #9618: Pathname#cleanpath creates mixed path separators
- No problem, I'm glad to help.
To be honest I'm a little concerned that my report of such a minor problem might result in such a drastic change.
But lets hope for the best :)
-
08:05 AM Feature #9633 (Closed): [PATCH]Symbol GC
- すみません、 ruby-devに投げちゃいました。
#9634 移動します…。 -
07:59 AM Feature #9633 (Closed): [PATCH]Symbol GC
- I've written a patch to collect most symbols.
PATCH: https://github.com/authorNari/ruby/compare/13834fb3c...symbol_gc.patch
## Summary
* Most symbols in Ruby level are GC-able(generated by #to_sym, #intern, etc..)
* Exclude a s... -
03:26 AM Feature #9632 (Closed): [PATCH 0/2] speedup IO#close with linked-list from ccan
- This imports the ccan linked-list (BSD-MIT licensed version of the Linux kernel
linked list). I cut out some of the unused str* code (only for debugging),
but it's still a big import of new code. Modifications to existing code is
mi... -
02:29 AM Bug #9628: Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
- Hello,
Thank you for your report.
I can shrink the reproducible script.
And I've confirmed that this issue was reproduced only with 2.1.x. It seems already fixed on trunk.
~~~
class MyError < StandardError
def to_s
messa...
03/12/2014
-
10:54 PM Bug #9628: Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
- Example code and output for 2.0.0-p451, 2.1.0 and 2.1.1:
https://gist.github.com/tmornini/9518056
Code:
~~~
#!/usr/bin/env ruby
module Subledger
class Error < StandardError
def to_s
"#{message}, HTTP status #{... -
10:52 PM Bug #9628 (Closed): Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
- Example code and output for 2.0.0-p451, 2.1.0 and 2.1.1:
https://gist.github.com/tmornini/9518056
Code:
#!/usr/bin/env ruby
module Subledger
class Error < StandardError
def to_s
"#{message}, HTTP status #{sta... -
08:10 PM Bug #9627 (Closed): SMTP does not properly dot-stuff an unterminated last line
- ```
str = "Date: Wed, 12 Mar 2014 16:02:26 -0400\r\nFrom: someone@aol.com\r\nTo: someone@aol.com\r\nMessage-ID: <5320bd52be4d3_6d653fd3d8c339e458df@Joshs-MacBook-Pro.local.mail>\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n char... -
06:17 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
- Hi,
Before r45272 this code worked:
~~~ruby
require 'minitest/autorun'
class DefaultArg < MiniTest::Unit::TestCase
class Default
def foo; 'foo'; end
def bar foo = foo
foo
end
end
def test_defa... -
04:59 PM Bug #9622: Extra method arguments are magically swallowed after first successful call, possible method cache bug
- just for memorandum. r45320 is also required to be backported.
-
02:19 AM Bug #9622 (Closed): Extra method arguments are magically swallowed after first successful call, possible method cache bug
- Applied in changeset r45321.
----------
vm_insnhelper.c: disable fastpath if splat
* vm_insnhelper.c (vm_callee_setup_arg): disable fastpath if splat
argument, since argc may differ for each calls.
[ruby-core:61422] [Bug #9622] -
03:49 PM Bug #9618: Pathname#cleanpath creates mixed path separators
- Thanks for both of your answers!
Indeed I think I met the fact it did not work in Explorer, but if it works with the standard API that is what matters.
I would definitely go with something like nobu's solution then (the conversion sh... -
03:14 PM Bug #9626 (Rejected): alias, prepend and super cause unexpected SystemStackError
- ```ruby
module M
def foo
super
end
end
class C
def foo
'C#foo'
end
prepend M
alias_method :orig_foo, :foo
def foo
orig_foo
end
end
C.new.foo
```
I expect: `M#foo` -> `C#foo` -> `C#ori... -
12:58 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
- Nobuyoshi Nakada wrote:
> It conflicts with existing behaviors too much.
I'm not surprised this caused other problems but I was hoping it wouldn't.
Is the current behavior now the expected behavior of Ruby and should I let other i... -
08:31 AM Bug #9605 (Rejected): Chaining "each_with_index.detect &lambda" raises ArgumentError
- It conflicts with existing behaviors too much.
-
10:58 AM Feature #9625: Define `Pathname#/` to append to the path
- Didn't this exist once and was later taken out? I have a dim (possibly
false) memory of this.
--
Avdi Grimm
http://avdi.org
On Mar 12, 2014 5:12 AM, <alexey.muranov@gmail.com> wrote:
> Issue #9625 has been reported by Alexey M... -
09:12 AM Feature #9625 (Closed): Define `Pathname#/` to append to the path
- How about borrowing this definition from *Homebrew* project:
class Pathname
def / that
join that.to_s
end
end
Looks nice to me. -
08:33 AM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
- Adding a link to a specific commit instead of trunk to prevent further commits from changing the line number: [configure.in:L2707](https://github.com/ruby/ruby/blob/ef0ce95daffe32be9d89f82cce0e4000dbc3fc02/configure.in#L2707)
-
08:25 AM Bug #9624 (Third Party's Issue): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
- Currently there is a single unrecognized command-line option [configure.in:L2707](https://github.com/ruby/ruby/blob/trunk/configure.in#L2707) that should be removed in order for the ruby/gems native extensions to compile on OS X with XCo...
-
08:16 AM Revision 3be926db (git): revert [Bug #9605]
- * enum.c: revert r45284, r45286, r45292. it conflicts with
existing behaviors. [Bug #9605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 AM Revision c28b5723 (git): vm_insnhelper.c: disable fastpath if splat
- * vm_insnhelper.c (vm_callee_setup_arg): disable fastpath if splat
argument, since argc may differ for each calls.
[ruby-core:61422] [Bug #9622]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45321 b2dd03c8-39d4-4d8f-98ff-823fe69... -
02:18 AM Revision ab9e4d11 (git): vm_insnhelper.c: inline function
- * vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
inline function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/11/2014
-
11:46 PM Bug #9592: Fix segfault with old OpenSSL
- security fixではないですが、明らかなregressionなので1.9.3にも必要かもしれません。
-
11:37 PM Bug #9623 (Closed): warning: "named capture conflicts a local variable" does not allow loops with named captures
- Given the following example:
args = []
remaining = 'a,b,c'
begin
/(?<token>[^,]*),?(?<remaining>.*)/ =~ remaining
args << token
end until remaining.empty?
p args
Giv... -
10:28 PM Bug #9581 (Closed): `=~` defined on a subclass of `String` is sometimes ignored, and `String#=~` is called instead - Applied in changeset r45318.
----------
insns.def (opt_regexpmatch2): respect redefined match op
* insns.def (opt_regexpmatch2): respect redefined match op
Thanks to Sam Rawlins for the fix.
* test/ruby/test_string.rb: test based on ... - 10:28 PM Revision b3a613c8 (git): * 2014-03-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:28 PM Revision 4101a569 (git): insns.def (opt_regexpmatch2): respect redefined match op
- * insns.def (opt_regexpmatch2): respect redefined match op
Thanks to Sam Rawlins for the fix.
* test/ruby/test_string.rb: test based on Tsuyoshi Sawada's report
[Bug #9581]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45318 b2d... -
10:08 PM Bug #9622 (Closed): Extra method arguments are magically swallowed after first successful call, possible method cache bug
- The following code behaviour totally change since ruby 2.0.0
~~~
class Foo
def bar(*args)
attribute(:bar, *args)
end
def attribute(name)
puts name
end
end
foo = Foo.new
begin
foo.bar(100)
rescue... -
07:34 PM Feature #2567: Net::HTTP does not handle encoding correctly
- This still seems to be a problem in Ruby 2.1.1p76. Data ends up as ASCII-8BIT even if the server specifies that it's UTF-8 or ISO-8859-1, and I end up with errors when writing it out somewhere else as a result.
-
06:28 PM Bug #9618: Pathname#cleanpath creates mixed path separators
- I could not find anything official regarding UNC paths with forward slashes in the Win32 documentation for paths (http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx)
So I did a few tests: They work on ... -
05:42 PM Bug #9618: Pathname#cleanpath creates mixed path separators
- It works.
-
05:25 PM Bug #9618: Pathname#cleanpath creates mixed path separators
- There might be the special case of UNC paths, does anyone know if UNC paths with forward slashes work on Windows?
-
11:07 AM Bug #9618: Pathname#cleanpath creates mixed path separators
- I'm not sure if converting the separators in `#initialize` is the best way to go. I can see the advantages, but I can also imagine existing programs breaking because of that.
Personally I'd prefer a more conservative approach which wo... -
01:02 AM Bug #9618: Pathname#cleanpath creates mixed path separators
- Agree.
~~~diff
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index 3db97fc..a68ecd2 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -17,6 +17,12 @@ get_strpath(VALUE obj)
static void
set... -
04:52 PM Feature #9620: Rename "curry" to "schönfinkelize" - +1 to mame's proposal
-
03:59 PM Feature #9620: Rename "curry" to "schönfinkelize"
- http://en.wikipedia.org/wiki/Moses_Sch%C3%B6nfinkel
> While Curry attributed the concept to Schönfinkel, it had already been used by Frege.[4]
#frege ...!
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:11 PM Feature #9620: Rename "curry" to "schönfinkelize" - The deep benefit of this improvement would be that in this way, the real first author of this operation, Moses Schönfinkel, would be commemorated, while "partial application" would gain a shortish name. Haskell Curry already has Haskell ...
-
01:59 PM Feature #9620 (Rejected): Rename "curry" to "schönfinkelize" - I have just been able to understand the difference between currying and partial application. With this newly acquired knowledge, I would like to canvass in favor of making the symbol `:curry` incorrectly mean partial application all over...
-
02:00 PM Feature #9548: Module curry - Having studied up the theory, I have added a feature request that would enable to misuse `curry` for partial application, #9620.
-
01:33 PM Revision c1f1b931 (git): * ext/.document: add objspace/objspace_dump.c to document file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 PM Revision b204fe18 (git): * test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file):
- remove dependency on json library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:43 AM Bug #9617: Windows7 issue with Kernel.spawn close_others => false
- Lionel PERRIN wrote:
> * Is there a technical reason why it is not supported ?
> ...
We do not have a way how specify which handle corresponds to which file descriptor to a child process.
First of all, we do not know whether a child p... -
11:14 AM Bug #9617: Windows7 issue with Kernel.spawn close_others => false
- Thanks for the answer.
Two last questions:
* Is there a technical reason why it is not supported ?
I've looked at the ruby source code. From my understanding, the CreateProcess call is made with inheritHandles set to true, which... -
05:23 AM Bug #8860: 64-bit x86 ruby 1.9.3-p448 on Solaris core dumps on bug4950 test case
- The latest version is Ruby 1.9.3-p545. Please try the latest version.
https://www.ruby-lang.org/en/news/2014/02/24/ruby-1-9-3-p545-is-released/
Could you try latest version of SolarisStudio 12.3 compiler?
I only use Solaris 10 on ... -
05:16 AM Revision d4ab41e3 (git): test_hash.rb: refine a test
- * test/ruby/test_hash.rb (test_exception_in_rehash): do not run twice
since this test does not use @cls. making a hash may increase
memory usage and should be in preparation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45315 ... -
05:16 AM Revision dc527256 (git): envutil.rb: do not check RSS by default
- * test/ruby/envutil.rb (Test::Test#assert_no_memory_leak): do not
check RSS by default, enabled by rss optional keyword argument.
TestHash#test_exception_in_rehash sometimes fails otherwise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... - 04:22 AM Revision 5543a55b (git): * test: get rid of warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:55 AM Bug #9619 (Closed): Fix README.EXT
- Applied in changeset r45312.
----------
README.EXT{,.ja}: update ruby_options and ruby_run_node
* README.EXT{,.ja} (Appendix B): update contents of `ruby_options`
and replace `ruby_run` with `ruby_run_node`. based on the patch
by ... -
01:55 AM Revision af59443a (git): README.EXT{,.ja}: update ruby_options and ruby_run_node
- * README.EXT{,.ja} (Appendix B): update contents of `ruby_options`
and replace `ruby_run` with `ruby_run_node`. based on the patch
by Kaneko Yuichiro at [ruby-dev:48030] [Bug #9619].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
01:25 AM Revision 89dff271 (git): r45298 fix trivial bug
- $initial_size must be a size, not a status
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 AM Revision ef0ce95d (git): fix typo on previous commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:02 AM Revision e30a140d (git): fix configure for r45306
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/10/2014
-
11:19 PM Bug #9617 (Rejected): Windows7 issue with Kernel.spawn close_others => false
- It is not supported on mswin/mingw to pass file descriptors (except 0,1,2) to other processes.
So, it is expected behavior. -
11:02 AM Bug #9617 (Rejected): Windows7 issue with Kernel.spawn close_others => false
- I faced an issue while trying to inherit a file or pipe handle from a master process to its child on windows 7.
I tried this implementation:
* master.rb:
~~~
rd, wr = IO.pipe
puts "Pipe opened: #{rd.fileno} <= #{wr.fileno}"
c... - 09:55 PM Revision c8c539a1 (git): ext/objspace: Check fptr before trying to dump FILE object fd
- Patch by Scott Francis. Closes GH-562.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:11 PM Revision d8182739 (git): * 2014-03-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:10 PM Revision fefbd47b (git): * vm_dump.c (rb_vm_bugreport): show vm maps on FreeBSD.
- * vm_dump.c (procstat_vm): copied from FreeBSD.
http://svnweb.freebsd.org/base/head/usr.bin/procstat/procstat_vm.c?revision=261780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 PM Feature #9602: Logic with `Enumerable#grep`
- I've updated my patch with Array#select, nobu's `break` suggestion, and documentation and tests:
* GitHub: https://github.com/srawlins/ruby/compare/select-to-accept-args
* patch file: https://github.com/srawlins/ruby/compare/select-t... -
01:29 PM Bug #9619 (Closed): Fix README.EXT
- Update contents of `ruby_options` and replace `ruby_run` to `ruby_run_node`.
README.EXTの`ruby_options`を更新し、`ruby_run`を`ruby_run_node`に変えました。 -
01:00 PM Bug #9618: Pathname#cleanpath creates mixed path separators
- I agree on using / only in Pathname (converting in #initialize).
-
12:27 PM Bug #9618 (Closed): Pathname#cleanpath creates mixed path separators
- When using `Pathname#cleanpath` with a Windows path the resulting path contains a mixture of slashes and backslashes.
~~~
require 'pathname'
path = Pathname.new('c:\projects\ruby\bug\test.rb')
path.to_s # => "c:\\proj... -
09:11 AM Bug #9562: Cannot install gems from gzip-compressing gem server
- Eric, I think the problem is that Gem::RemoteFetcher#fetch_path fails in `Gem.gunzip data` if the `data` is already decoded by Net::HTTP of Ruby 2.0 and later.
It happens when the HTTP server is configured to set a `Content-Encoding: gz... -
06:58 AM Feature #8426: Implement class hierarchy method caching
- Eric Wong <normalperson@yhbt.net> wrote:
> I may try adding caching in the main method table itself;
> especially if we end up using the container_of-style of method tables
Tried and unimpressive on bm_so_binary_trees so far:
http... -
04:36 AM Feature #9612: Gemify OpenSSL
- :+1: Great step.
-
03:20 AM Revision be7cc583 (git): * configure.in: always check dladdr(1).
- * addr2line.c (fill_lines): show the line number in C backtrace if
ruby is built without --enable-shared (PIE) on Linux.
patch is originally by Shinichiro Hamaji
https://twitter.com/shinh/status/441957774264504321
NOTE: ld doesn'... -
02:21 AM Feature #9549 (Assigned): Improvements to Time::strptime
-
01:54 AM Bug #9597 (Third Party's Issue): Core dump on Solaris on test case runner.rb
- 01:51 AM Revision 3727e066 (git): * 2014-03-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:51 AM Revision 21759a08 (git): merge GH-558
- * test/ruby/test_enumerator.rb (test_iterators): fix test for hash
iterators. [Fixes GH-558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 AM Bug #9551 (Assigned): [DOC] Fix for documentation of Kernel::catch
03/09/2014
-
01:15 PM Bug #9597: Core dump on Solaris on test case runner.rb
- I recompiled ruby against libffi.so.4 and the problem disappeared, so I confirm this bug is linked somehow to libffi.
-
01:14 PM Bug #8860: 64-bit x86 ruby 1.9.3-p448 on Solaris core dumps on bug4950 test case
- Hi,
I confirm that this bug is still present with ruby 1.9.3 patch level 484:
Output of ruby -v: ruby 1.9.3p484 (2013-11-22 revision 43786) [i386-solaris2.10]
I attached the core dump (which is 6 MB, so it is split in two files) ... -
12:50 PM Bug #9599: Fiddle::Function#call leaks memory
- Add r45301
-
10:30 AM Feature #8426: Implement class hierarchy method caching
- parallel/continuation of this issue is in https://bugs.ruby-lang.org/issues/9262
-
05:10 AM Feature #8426: Implement class hierarchy method caching
- I noticed this was reverted in r43027 for being too slow.
Is there a plan to improve and reintroduce it?
I may try adding caching in the main method table itself;
especially if we end up using the container_of-style of method table... -
06:45 AM Feature #9548: Module curry - Indeed, there is much less use for currying than for chaining in the functional world. (In #9552, I now prefer `#chain` to `#map!`.) Yet there is already `Proc#curry` in Ruby (whose present behavior is horrible, imo), therefore it is fai...
-
05:51 AM Feature #9552: Module map! - I apologize for late response. Again, I experienced that the method I'm proposing here has much practical use in my code. As for better name, I can think of:
`#compose` --- weight: 3 -- as in functional composition
`#apply` --- ... -
05:22 AM Bug #9616 (Closed): [PATCH] class.c: check for malloc failures - Applied in changeset r45302.
----------
class.c: check for malloc failures
* class.c (rb_class_subclass_add): use xmalloc
* class.c (rb_module_add_to_subclasses_list): ditto
* class.c (rb_class_remove_from_super_subclasses): use xfree
... -
05:20 AM Bug #9616 (Closed): [PATCH] class.c: check for malloc failures
- Will commit attached patch to trunk. Note backport field for 2.1
- 05:22 AM Revision b39eabac (git): class.c: check for malloc failures
- * class.c (rb_class_subclass_add): use xmalloc
* class.c (rb_module_add_to_subclasses_list): ditto
* class.c (rb_class_remove_from_super_subclasses): use xfree
* class.c (rb_class_remove_from_module_subclasses): ditto
[Bug #9616]
xmal... -
04:51 AM Revision dfdb8b73 (git): fiddle/function.c: fix memory leak on exception
- * ext/fiddle/function.c (function_call): fix memory leak when an
exception occurs at argument conversion or the function call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision 1692e547 (git): fiddle/function.c: check argument size
- * ext/fiddle/function.c (initialize): check argument number if the
temporary buffer exceeds size_t max.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:19 AM Revision cb05f199 (git): tests for [Bug #9599]
- * test/dl/test_{cptr,handle}.rb: tests for [Bug #9599].
* test/fiddle/test_{handle,pointer}.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:17 AM Revision e20cd8ee (git): test/ruby/envutil.rb: compare RSS to check memory leak
- * test/ruby/envutil.rb (Test::Test#assert_no_memory_leak): compare
also RSS if available.
* test/ruby/memory_status.rb (Memory::Status.parse): read string
form of an instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45298... -
04:09 AM Bug #9615 (Closed): fix typo in comments of eval.c
- Applied in changeset r45297.
----------
* eval.c: remove needless space.
[ruby-dev:48026] [Bug #9615] -
02:36 AM Bug #9615 (Closed): fix typo in comments of eval.c
- Delete unnecessary space from comments of eval.c .
不要に思われるスペースを削除しました。 -
04:09 AM Revision 68649699 (git): * eval.c: remove needless space.
- [ruby-dev:48026] [Bug #9615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 AM Feature #9614 (Assigned): ordering of non-Hash items which use st_ internally
- Hi matz, I would like your permission to remove the order preservation from
any or all of the following currently implemented using `st_table`:
* method tables
* global symbols (`Symbol.all_symbols`)
* constant tables
* instance v...