develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH sv.c] mortal doc thinko

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
July 30, 2001 03:28
Subject:
Re: [PATCH sv.c] mortal doc thinko
Message ID:
200107301028.LAA12741@gizmo.fdgroup.co.uk
Nick Ing-Simmons <nick@ing-simmons.net> wrote:
> Dave Mitchell <davem@fdgroup.co.uk> writes:
> >This minor patch for sv.c fixes some thinkos in the apidoc stuff
> >I added a while back.
> 
> Not applied. Unless that patch is reversed it makes things worse IMHO.
> I find the "current statement ends (or thereabouts)" misleading.
> 
> Mortality extends to next FREETMPS - the end of current perl statement does 
> that I agree, but in XS code next person is not necessarily thinking 
> in terms of perl statements (they might think that means XS "statement"), 
> and should be considering their own 
> ENTER/SAVETMPS/FREETMPS/LEAVE 
> issues. So current "context" is "better" - but improvements welcome. 

How about:

It will be destroyed "soon", either by an explicit call to FREETMPS,
or by an implicit call at places such as statement boundaries.

(I wanted to get rid of the word "context", since that has specific
connotations in the internals).

Dave M.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About