Skip Menu |
 

This queue is for tickets about the UNIVERSAL-can CPAN distribution.

Report information
The Basics
Id: 17565
Status: resolved
Priority: 0/
Queue: UNIVERSAL-can

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.03
Fixed in: (no value)



Subject: UNIVERSALL::isa is not reentrant
Download (untitled) / with headers
text/plain 346b
UNIVERSAL::isa uses a global recursive flag. If a custom ->isa method itself calls UNIVERSAL::isa anywhere recursively within the ->isa method, this flag is falsely true. This results in the intended effect (magically chaning a UNIVERSAL::can into a ->can, which I think is wrong anyway, but lets not deal with THAT in this bug) not happening.
From: chromatic [...] wgz.org
Download (untitled) / with headers
text/plain 459b
On Fri Feb 10 02:05:09 2006, ADAMK wrote: Show quoted text
> UNIVERSAL::isa uses a global recursive flag. > > If a custom ->isa method itself calls UNIVERSAL::isa anywhere > recursively within the ->isa method, this flag is falsely true. > > This results in the intended effect (magically chaning a UNIVERSAL::can > into a ->can, which I think is wrong anyway, but lets not deal with THAT > in this bug) not happening.
Do you have a test case for this with 1.13_001? -- c
Subject: Re: [rt.cpan.org #17565] UNIVERSALL::isa is not reentrant
Date: Mon, 31 Dec 2007 11:36:11 +1100
To: bug-UNIVERSAL-can [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
Download (untitled) / with headers
text/plain 638b
Alas no. On 29/12/2007, chromatic@wgz.org via RT <bug-UNIVERSAL-can@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=17565 > > > On Fri Feb 10 02:05:09 2006, ADAMK wrote:
> > UNIVERSAL::isa uses a global recursive flag. > > > > If a custom ->isa method itself calls UNIVERSAL::isa anywhere > > recursively within the ->isa method, this flag is falsely true. > > > > This results in the intended effect (magically chaning a UNIVERSAL::can > > into a ->can, which I think is wrong anyway, but lets not deal with THAT > > in this bug) not happening.
> > Do you have a test case for this with 1.13_001? > > -- c > >
Cannot reproduce.
Subject: Re: [rt.cpan.org #17565] UNIVERSALL::isa is not reentrant
Date: Sat, 13 Jun 2009 12:28:31 +1000
To: bug-UNIVERSAL-can [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
Download (untitled) / with headers
text/plain 290b
Just noting that if you leave this bug marked as stalled, I think I know how to reproduce it, and I'll get to it when I find a timeslice. Adam K 2009/6/13 CHROMATIC via RT <bug-UNIVERSAL-can@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=17565 > > > Cannot reproduce. >
Stalled pending a test case against 1.14.
Please reopen this ticket if you can reproduce.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.