<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi.<br><br>I found a problem with Python 2.5.6.<br>test_commands fails when 'make test'.<br>bugs.python.org doesn't seem to have an option for Python 2.5 in "Versions:" drop-down menu when creating an issue.<br>The problem seems to be the same as #11946.<br><a href="http://bugs.python.org/issue11946">http://bugs.python.org/issue11946</a><br>I also made a patch for 2.5.6.<br><br>--- Python-2.5.6/Lib/test/test_commands.py.orig 2006-06-29 04:10:08.000000000 +0000<br>+++ Python-2.5.6/Lib/test/test_commands.py 2011-11-29 08:46:29.602607019 +0000<br>@@ -46,11 +46,7 @@<br> # drwxr-xr-x 15 Joe User My Group 4096 Aug 12 12:50 /<br> # Note that the first case above has a space in the group name<br> # while the second one has a space in both names.<br>- pat = r'''d......... # It is a directory.<br>- \+? # It may have ACLs.<br>- \s+\d+ # It has some number of links.<br>- [^/]* # Skip user, group, size, and date.<br>- /\. # and end with the name of the file.<br>+ pat = r'''^.*(\/\.)[\ ]*[\n\r]*$<br> '''<br> <br> self.assert_(re.match(pat, getstatus("/."), re.VERBOSE))<br><br><br>Can I submit the issue at bugs.python.org?<br>I think many people are still using Python 2.5 because of Google App Engine and fixing bugs with 2.5 is still helpful.<br><br>Toshiyuki Ogura<br><br> </div></body>
</html>