Skip Menu |
 

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 120242
Status: resolved
Priority: 0/
Queue: Math-BigInt

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.999810



Subject: [PATCH] Fix multiple inheritance for c3
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
Message-ID: <rt-4.0.18-30216-1487079579-813.0-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1487079579-30216-3"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
Content-Length: 392
Download (untitled) / with headers
text/plain 392b
cperl switched to c3 already (perl5 might do later evtl.) and fails with "Inconsistent hierarchy during C3 merge". With multiple inheritance (@ISA>1), the c3 mro refuses to load the most specific after the least specific base class. The general rule to avoid inconsistency for @ISA is from most specific to least specific. I.e. Exporter needs to be the last -- Reini Urban
Subject: c3.p
MIME-Version: 1.0
Content-Type: application/octet-stream; name="c3.p"
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline; filename="c3.p"
Content-Transfer-Encoding: base64
Content-Length: 1808
Download c3.p
application/octet-stream 1.7k

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30216-1487079579-813.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30216-1487079579-813.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-6287-1488219599-38.120242-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 49
Thanks for the patch, but what is "c3" and "mro"?
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-6287-1488219599-38.120242-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30216-1487079579-813.0-0-0 [...] rt.cpan.org> <rt-4.0.18-6287-1488219599-38.120242-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-1403-1488219915-216.120242-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 223
Download (untitled) / with headers
text/plain 223b
On Mon Feb 27 13:19:59 2017, pjacklam wrote: Show quoted text
> Thanks for the patch, but what is "c3" and "mro"?
$ perldoc mro c3 is the modern method resolution, used for proper object systems. dfs the adhoc resolution -- Reini Urban
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-1403-1488219915-216.120242-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30216-1487079579-813.0-0-0 [...] rt.cpan.org> <rt-4.0.18-6287-1488219599-38.120242-0-0 [...] rt.cpan.org> <rt-4.0.18-1403-1488219915-216.120242-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-22629-1488558073-1991.120242-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 55
Thanks for the information. This is fixed in v1.999810.


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.