[#32676] VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex — Phlip <phlip2005@...>
[I will try Bill Kelly's PDB path advice presently; this issue is more
5 messages
2010/10/03
[#32687] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Roger Pack <rogerdpack2@...>
2010/10/04
> This one's about...
[#32703] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Phlip <phlip2005@...>
2010/10/05
> > #<NoMethodError: undefined method `synchronize' for #<Mutex:0x750faa8>>
[#32698] [Ruby 1.9-Feature#3908][Open] private constant — Yusuke Endoh <redmine@...>
Feature #3908: private constant
10 messages
2010/10/05
[#32795] Call for Cooperation: CFUNC usage survey — SASADA Koichi <ko1@...>
Hi,
5 messages
2010/10/15
[#32814] WeakHash — Santiago Pastorino <santiago@...>
Hi guys,
6 messages
2010/10/15
[#32844] [Ruby 1.9-Feature#3963][Open] Map class in standard library — Thomas Sawyer <redmine@...>
Feature #3963: Map class in standard library
3 messages
2010/10/18
[#32864] [Ruby 1.9-Bug#3972][Open] r28668 breaks test/unit when combined with the testing rake task — Aaron Patterson <redmine@...>
Bug #3972: r28668 breaks test/unit when combined with the testing rake task
6 messages
2010/10/20
[#32932] Behavior of initialize in 1.9 — Aaron Patterson <aaron@...>
The behavior of initialize in 1.9 seems to have changed. Here is an irb
5 messages
2010/10/28
[#32960] [Ruby 1.9-Bug#4005][Open] YAML fails to roundtrip Time objects — Peter Weldon <redmine@...>
Bug #4005: YAML fails to roundtrip Time objects
6 messages
2010/10/29
[#32976] Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3 — Luis Lavena <luislavena@...>
Hello,
10 messages
2010/10/30
[#32978] Re: Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3
— Aaron Patterson <aaron@...>
2010/10/30
On Sun, Oct 31, 2010 at 03:42:02AM +0900, Luis Lavena wrote:
[ruby-core:32920] Re: [Ruby 1.9-Feature#3908] private constant
From:
Yusuke ENDOH <mame@...>
Date:
2010-10-27 22:34:34 UTC
List:
ruby-core #32920
Hi, 2010/10/27 Run Paint Run Run <[email protected]>: > Issue #3908 has been updated by Run Paint Run Run. > > > I'm sorry I missed the deadline on this ticket... No problem. Thank you always for your detailed spec review. # Say, I wanna work on File.write... > 1) Is it intentional that `const_get :K`, where :K is a private constant, raises a NameError? No. I think `#const_get' does not raise an exception for private constants because `#method' and `#send' does not for private methods. Matz, may I introduce a new method `#public_const_get', like `#public_send'? > 2) Should private constants be returned by `#constants`? I think no. I'm attaching a patch. Matz, may I introduce two new methods, `#public_constants' and `#private_constants'? > 3) Is it intended that, given the name of a private constant, `#set_const` makes it public? No. I'm attaching a patch. NOTES: - Matz is now casting doubt on this feature ;-( because we've not estimated the impact of this feature yet. Though I thought that I certainly got matz's approval, I might make a quick judgment. We're discussing still now, but this feature may be reverted. - The first patch slightly changes YARV insn format for defineclass, to distinguish constant access style in class definition, e.g., OK: class Foo::PrivateClass NG: class PrivateClass Thus, ko1's approval is needed. - I have to work on defined?(Foo::PrivateConstant) -- Yusuke Endoh <[email protected]>
Attachments (3)
0001-add-rb_const_get_-_visi-functions.patch
(7.79 KB, application/mbox)
0002-const_set-should-not-change-constant-visibility.patch
(1.75 KB, application/mbox)
0003-Module-constant-should-exclude-private-constants.patch
(1.06 KB, application/mbox)