develooper Front page | perl.perl5.porters | Postings from June 2010

Re: Pending Test::More fixage - DateTime and string overload userstake note

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
June 1, 2010 10:42
Subject:
Re: Pending Test::More fixage - DateTime and string overload userstake note
Message ID:
4C054672.3020102@pobox.com
On 2010.5.27 11:12 PM, Slaven Rezic wrote:
> My smoker has finished after testing nearly 17000 distribution (I tested
> only distributions released in this millennium), and here's the list of
> the affected distributions. Most of them already have a RT ticket for
> this issue:

Thanks again for doing this!

By my reading, the important bits seem to be Test::Class and maybe IO::All?
If this was cross referenced with dependency data we could see which of these
distributions are secretly linchpins.


> Acme-Archive-Mbox-0.01              
> Acme-Numbers-1.1                    	https://rt.cpan.org/Ticket/Display.html?id=57869
> Bread-Board-0.13                    	https://rt.cpan.org/Ticket/Display.html?id=57760
> Business-ISRC-0.01                  	https://rt.cpan.org/Ticket/Display.html?id=57870
> Class-Builtin-0.04                  	https://rt.cpan.org/Ticket/Display.html?id=57766
> Class-Constant-0.05                 	https://rt.cpan.org/Ticket/Display.html?id=57871
> Class-DBI-Lite-1.011

This one is interesting, the problematic line is this:

	is( $thing, undef );

$thing is a defined object which stringifies to undef.  If $thing were a plain
undefined value, the above would work.  is() has some special case logic to
compare undefined values, but it no longer stringifies before doing those
special checks.

It looks like YAML::Object has the same issue.  I'm not sure what to do about
that.  I like to encourage is( $foo, undef ) rather than ok( !defined $foo )
because it provides diagnostics.


> ClearPress-368                      	https://rt.cpan.org/Ticket/Display.html?id=57786
> Collision-2D-0.06                   	https://rt.cpan.org/Ticket/Display.html?id=57785
> DBIx-Class-TimeStamp-0.12           	https://rt.cpan.org/Ticket/Display.html?id=57746	fixed in 0.13
> DBM-Deep-1.0023                     	https://rt.cpan.org/Ticket/Display.html?id=57714
> Data-RuledValidator-0.10            	https://rt.cpan.org/Ticket/Display.html?id=57872
> Data-Thunk-0.05                     	https://rt.cpan.org/Ticket/Display.html?id=57873
> Date-Piece-v0.0.3                   	http://rt.cpan.org/Public/Bug/Display.html?id=57736
> Exception-NoException-0.06          	https://rt.cpan.org/Ticket/Display.html?id=57874
> Google-AJAX-Library-0.02            	https://rt.cpan.org/Ticket/Display.html?id=57876
> Gtk2-SourceView2-0.09               	https://rt.cpan.org/Ticket/Display.html?id=57875
> HTML-FormFu-0.07001                 	https://rt.cpan.org/Ticket/Display.html?id=57747
> IO-All-0.39                         	https://rt.cpan.org/Ticket/Display.html?id=57708
> Iterator-File-1.01                  	https://rt.cpan.org/Ticket/Display.html?id=57868
> Language-Befunge-4.12               	https://rt.cpan.org/Ticket/Display.html?id=57721	fixed in 4.13
> Language-Befunge-Vector-XS-1.1.0    	https://rt.cpan.org/Ticket/Display.html?id=57722	fixed in 1.1.1
> List-Filter-0.04                    	https://rt.cpan.org/Ticket/Display.html?id=56068
> Log-Report-0.26                     	https://rt.cpan.org/Ticket/Display.html?id=57703
> Module-Version-0.05                 	fixed in 0.06
> Mojo-JSON-Any-0.990102              	fixed in 0.990103
> Nagios-Plugin-0.34                  	https://rt.cpan.org/Ticket/Display.html?id=57709
> Net-LDAP-FilterBuilder-1.0003       	https://rt.cpan.org/Ticket/Display.html?id=57765
> Net-MAC-1.5                         	https://rt.cpan.org/Ticket/Display.html?id=57867
> Net-SAJAX-0.105                     	https://rt.cpan.org/Ticket/Display.html?id=54447
> POE-Filter-XML-RPC-0.04             	https://rt.cpan.org/Ticket/Display.html?id=57764
> POE-XUL-0.0406                      	https://rt.cpan.org/Ticket/Display.html?id=57865
> POEx-URI-0.0300                     	https://rt.cpan.org/Ticket/Display.html?id=57740
> Params-Profile-0.10                 	https://rt.cpan.org/Ticket/Display.html?id=43284
> PostScript-PPD-0.0201               	https://rt.cpan.org/Ticket/Display.html?id=57739
> Rubyish-0.32                        	https://rt.cpan.org/Ticket/Display.html?id=57763
> Scalar-Cycle-Manual-0.03.6          	https://rt.cpan.org/Ticket/Display.html?id=57679
> Sort-ArbBiLex-4.01                  	https://rt.cpan.org/Ticket/Display.html?id=57864
> String-Tagged-0.05                  	https://rt.cpan.org/Ticket/Display.html?id=57762
> Template-Benchmark-1.01             	fixed in 1.01_01
> Template-HTML-0.02                  	https://rt.cpan.org/Ticket/Display.html?id=57779
> Test-Class-0.35                     	https://rt.cpan.org/Ticket/Display.html?id=55324
> Text-Snippet-0.03                   	https://rt.cpan.org/Ticket/Display.html?id=57698	fixed in 0.04
> UID-0.24                            	https://rt.cpan.org/Ticket/Display.html?id=57724
> UUID-Object-0.80                    	https://rt.cpan.org/Ticket/Display.html?id=57738
> WWW-Mechanize-TreeBuilder-1.10002   	https://rt.cpan.org/Ticket/Display.html?id=57723
> WWW-OpenSearch-0.15                 	https://rt.cpan.org/Ticket/Display.html?id=57761	fixed in 0.16
> XML-API-0.24                        	https://rt.cpan.org/Ticket/Display.html?id=57759
> XML-Builder-0.901                   	https://rt.cpan.org/Ticket/Display.html?id=57778
> YAML-Object-0.05                    



-- 
185. My name is not a killing word.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

Thread Previous | 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