develooper Front page | perl.perl5.porters | Postings from October 2009

merging in the origin/legacy-pragma git branch

Thread Next
From:
karl williamson
Date:
October 29, 2009 21:47
Subject:
merging in the origin/legacy-pragma git branch
Message ID:
4AEA6FE8.7070903@khwilliamson.com
I would like to start submitting patches to fix the "Unicode bug" 
wherein the semantics differs depending on the internal utf8-or-not 
representation of a scalar.

I submitted the first steps for that quite a while back, and Rafael made 
a separate branch for that.  I'm not sure how to proceed.  I need that 
to go forward.  Do I do something, or what?  It is a tiny patch.

At the time Rafael expressed some concern that I was using up a bit from 
PL_hints, and suggested using the newer hash instead.  I would prefer to 
keep using PL_hints for several reasons:
1) The closely related bits for locale and "use bytes" are located here, 
and it seems to make sense to keep them all in the same structure.  And 
there are several bits available even after this one is used up.
2) It's easier for me to just copy the existing paradigm for these than 
to figure out how to do the other
3) I'm leery of the other scheme given all the problems there are with 
charnames in regcomp.c.  I'm pretty ignorant on this, and ignorance 
leads to paranoia, not bliss.  But I'm not sure we've gotten to the 
bottom of the cause, and I'd just as soon not get involved with 
depending on something that may be flaky.  Now perhaps this is used with 
  full success elsewhere, and my concerns are just paranoia.  But then I 
go back to reasons 1 and 2.

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