General

Profile

headius (Charles Nutter)

Issues

Projects

Activity

12/13/2018

05:51 PM CommonRuby Feature #13581: Syntax sugar for method reference
Triple `:` doesn't parse right now and has some synergy with constant references:
```
obj:::foo # => obj.method(:...
headius (Charles Nutter)
04:11 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> i hope you don't plan to mess with the VALUE type too
Again, ko1 can explain better, but my understanding is tha...
headius (Charles Nutter)
03:46 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> I found the following note in the comment
Yes, I want WeakMap to become part of the public API. I think that nee...
headius (Charles Nutter)
03:05 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> For this purpose, pycall has mappings from a Python object pointer to an ID of Ruby object, which is a wrapper of t... headius (Charles Nutter)
02:08 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> I'm unsure how to garbage-collect the wrapped objects, though
Oh this leads to another item Ruby really needs to...
headius (Charles Nutter)
02:03 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> I've heard that pycall is also using _id2ref. This API seems to be useful to create a remote wrapper of a Ruby obje... headius (Charles Nutter)
01:59 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> The world is not going to end if object_id is removed; but it is not going to end when object_id remains, either.
...
headius (Charles Nutter)
01:56 PM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
I'm glad most of us are in agreement about _id2ref!
> object_id ... is idempotent,
Yeah you're right here...I r...
headius (Charles Nutter)
05:36 AM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> object_id does precisely what I expect.
Then your expectations do not include that it's actually an ID, since it...
headius (Charles Nutter)
02:21 AM Ruby trunk Feature #15408: Deprecate object_id and _id2ref
> object_id is used even in rspec for debugging.
All objects need to have a base hashcode; that's what we should b...
headius (Charles Nutter)

Also available in: Atom