New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Math::BigRat in perl-5.26.0-RC2 severely broken #15991
Comments
From mhasch-p5p@cozap.comThis is a bug report for perl from mhasch-p5p@cozap.com, Dear Perl 5 Porters, The release candidate 2 for perl-5.26.0 comes with Math::BigRat The impact would be that code using Math::BigRat for symbolic Here is a code snippet demonstrating the problem: my $a = Math::BigRat->new('3/2'); Note that Math::BigRat has always been supporting copying It can be worked around by replacing many assignments like As the Math::BigXXX family of modules is currently under active It is somewhat important not to use an even earlier version, Thank you for your trouble, Flags: Site configuration information for perl 5.26.0: Configured by martin at Wed May 31 12:56:17 CEST 2017. Summary of my perl5 (revision 5 version 26 subversion 0) configuration: Locally applied patches: @INC for perl 5.26.0: Environment for perl 5.26.0: |
From @iabynOn Wed, May 31, 2017 at 07:32:07AM -0700, Martin Hasch wrote:
Note that perl 5.26.0 was released yesterday evening -- |
The RT System itself - Status changed from 'new' to 'open' |
From mhasch-p5p@cozap.comOn Thu, Jun 01, 2017 at 03:40:21AM -0700, Dave Mitchell via RT wrote:
Yes, I realized that, it's a pity I didn't find out earlier. The good news is that there is already a patch. Peter shouldn't -Martin |
From @pjacklamOuch, this is bad. I'll give this top priority. As a side remark, I would like to have Math::BigRat in the same distribution as Math::BigInt and Math::BigFloat as these three modules are so closely related. Also, the fact that Math::BigRat isa Math::BigFloat, and Math::BigFloat isa Math::BigInt is causing never ending problems. Introducing Math::BigReal and letting Math::Big(Int|Float|Rat) be a subclass of Math::BigReal would make maintenance much easier. |
From mhasch-p5p@cozap.comPeter, On Fri, Jun 09, 2017 at 02:11:38AM -0700, (Peter J. Acklam) via RT wrote:
This is a very good idea and will greatly help to avoid problems
I would be delighted if you could make this work. Such a new Let us not get distracted from quickly fixing the problem at -Martin |
Migrated from rt.perl.org#131410 (status was 'open')
Searchable as RT131410$
The text was updated successfully, but these errors were encountered: