[#8484] strptime fails to properly parse certain inputs — <noreply@...>

Bugs item #5263, was opened at 2006-08-01 23:14

13 messages 2006/08/02
[#8485] Re: [ ruby-Bugs-5263 ] strptime fails to properly parse certain inputs — Yukihiro Matsumoto <matz@...> 2006/08/02

Hi,

[#8538] Re: [ ruby-Bugs-5263 ] strptime fails to properly parse certain inputs — nobu@... 2006/08/06

Hi,

[#8561] sandbox timers & block scopes — why the lucky stiff <ruby-core@...>

Two puzzles I am trying to solve:

28 messages 2006/08/08
[#8624] Re: sandbox timers & block scopes — why the lucky stiff <ruby-core@...> 2006/08/15

raise ThisDecayingInquisition, "anyone? anyone at all?"

[#8627] Re: sandbox timers & block scopes — MenTaLguY <mental@...> 2006/08/15

On Wed, 2006-08-16 at 00:35 +0900, why the lucky stiff wrote:

[#8628] Re: sandbox timers & block scopes — why the lucky stiff <ruby-core@...> 2006/08/15

On Wed, Aug 16, 2006 at 02:46:30AM +0900, MenTaLguY wrote:

[#8629] Re: sandbox timers & block scopes — "Charles O Nutter" <headius@...> 2006/08/15

On 8/15/06, why the lucky stiff <ruby-core@whytheluckystiff.net> wrote:

[#8690] a ruby-core primer — why the lucky stiff <ruby-core@...>

Hello, all. I've been working on the ruby-core page for the new Ruby site.

21 messages 2006/08/22

Re: doc patch: weakref.rb - against HEAD

From: Hugh Sasse <hgs@...>
Date: 2006-08-02 17:38:55 UTC
List: ruby-core #8493
Here is a patch against HEAD from CVS grabbed this afternoon,
which I think addresses the reservations expressed so far.

        HTH
        Hugh

--- ./lib/weakref.rb.orig	2006-07-31 07:31:38.000000000 +0100
+++ ./lib/weakref.rb	2006-08-02 18:37:26.917118000 +0100
@@ -1,11 +1,12 @@
 
 require "delegate"
 
-# Weak Reference class that does not bother GCing.  This allows the
-# referenced object to be garbage collected as if nothing else is
-# referring to it.  Because Weakref inherits from Delegator it passes
-# method calls to the object from which it was constructed, so it
-# is of the same Duck Type.
+# WeakRef is a class to represent a reference to an object that is
+# not seen by the tracing phase of the garbage collector.  This
+# allows the referenced object to be garbage collected as if nothing
+# else is referring to it.  Because WeakRef delegates method calls
+# to the referenced object, it may be used in place of that object,
+# i.e.it is of the same Duck Type.
 #
 # Usage:
 #   foo = Object.new
@@ -80,7 +81,8 @@
   def __setobj__(obj)
   end
 
-  # Determine if this Weakref still refers to anything.
+  # Returns true if the referenced object still exists, and
+  # false if it has been garbage collected.
   def weakref_alive?
     @@id_rev_map[self.object_id] == @__id
   end

In This Thread