Front page | perl.perl5.porters |
Postings from January 2007
Re: New release ?
Thread Previous
|
Thread Next
From:
Brandon Black
Date:
January 5, 2007 15:09
Subject:
Re: New release ?
Message ID:
84621a60701051509q1e314641j68f703e440621c23@mail.gmail.com
On 1/5/07, Rafael Garcia-Suarez <rgarciasuarez@gmail.com> wrote:
> I'm trying to make a list of what needs to be sorted out before a new
> development release: (5.9.5, which should be feature-equal to 5.10.0)
>
Another little thing I ran across earlier that hasn't been addressed:
As things stand now (and have for a long time presumably), all classes
inherit the methods of UNIVERSAL, and Foo->isa('UNIVERSAL') on any
class returns true. Additionally, if one takes the (psychotic)
measure of stuffing other classes in @UNIVERSAL::ISA, all classes
inherit the methods of these packages (there's even a test for this,
so clearly it is meant to work).
However, ->isa checks for those superclasses fail. Attached is a
short perl script that demonstrates what I'm talking about, which
seems rather inconsistent. Is this inconsistency something we want to
preserve for historical reasons, or should it be remedied (I could do
that either as a separate patch or as part of the c3 patch since it
touches on this code anyways).
-- Brandon
Thread Previous
|
Thread Next