This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Python: PR/13327: expose laziness to Python


On Oct 25, 2011, at 2:16 PM, Eli Zaretskii wrote:

>> From: Paul Koning <paulkoning@comcast.net>
>> Date: Tue, 25 Oct 2011 13:38:20 -0400
>> Cc: Tom Tromey <tromey@redhat.com>
>> 
>> The documentation briefly touches on how lazy fetching works in the discussion of the is_lazy attribute, but it doesn't more fully discuss it as a topic of its own.  I could try to do so, in the introductory material for gdb.Value.  Should I do that?
> 
> No, I think what you wrote is good enough.
> 
>> Ok to commit?
> 
> A few comments to the documentation part:
> 
>> +@defvar Value.is_lazy
>> +This read-only boolean attribute is true if the value has not yet
> 
> "The attribute is true" sounds weird, doesn't it?  How about
> 
> The value of this read-only attribute is @code{True} if @code{Value}
> has not yet been fetched ...

What I wrote originally was copied from is_optimized_out.  But I like your wording better.  I made it "...if this @code{gdb.Value} has not yet..." which is the wording used in the other attributes directly above this one.

> ...
> Okay with these changes.

Thanks.  Committed that way.

	paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]