M
Masayoshi Takahashi
Hello all,
This is a summary of ruby-dev ML in these days.
[ruby-dev:22193] self-assignable operator and thread locking
Take_tk proposed not to switch threads while executing
self-assignment operator. Matz answered that it needs
global locks and huge costs.
[ruby-dev:22195] IO::for_io and TCPServer#bind
GOTOU Yuuzou tried to add setsockopt(IPPROTO_IPV6, IPV6_V6ONLY),
but he cound not do it. Because in TCPServer #bind and #listen were
finished before instance was created.
Instead, he tried to use a Socket object and TCPServer#for_fd to create
the TCPServer object. But it didn't seem useful because the socket
object needs GC protection for itself.
He suggested a new method IO::for_io (and TCPServer#bind)
and nobu made a patch to do so ([ruby-dev:22210]), but Matz
didn't like the name for_io and wanted a new name for it.
[ruby-dev:22205] yet another inconsistency about EOF between StringIO and IO
Tanaka Akira found subtle differences between StringIO's
and IO's behavior. Almost all were fixed.
[ruby-dev:22208] ERB#filename
Minero Aoki pointed out that a file name of error in eRuby(ERB)
scripts is always '(eval)'. He made a patch to add accessor
methods for @filename, and commited it.
Regards,
Masayoshi TAKAHASHI E-mail: (e-mail address removed)
This is a summary of ruby-dev ML in these days.
[ruby-dev:22193] self-assignable operator and thread locking
Take_tk proposed not to switch threads while executing
self-assignment operator. Matz answered that it needs
global locks and huge costs.
[ruby-dev:22195] IO::for_io and TCPServer#bind
GOTOU Yuuzou tried to add setsockopt(IPPROTO_IPV6, IPV6_V6ONLY),
but he cound not do it. Because in TCPServer #bind and #listen were
finished before instance was created.
Instead, he tried to use a Socket object and TCPServer#for_fd to create
the TCPServer object. But it didn't seem useful because the socket
object needs GC protection for itself.
He suggested a new method IO::for_io (and TCPServer#bind)
and nobu made a patch to do so ([ruby-dev:22210]), but Matz
didn't like the name for_io and wanted a new name for it.
[ruby-dev:22205] yet another inconsistency about EOF between StringIO and IO
Tanaka Akira found subtle differences between StringIO's
and IO's behavior. Almost all were fixed.
[ruby-dev:22208] ERB#filename
Minero Aoki pointed out that a file name of error in eRuby(ERB)
scripts is always '(eval)'. He made a patch to add accessor
methods for @filename, and commited it.
Regards,
Masayoshi TAKAHASHI E-mail: (e-mail address removed)