Jason Vas Dias <jason.vas.d...@gmail.com> added the comment: oops, over-eager bash <tab> again - I've certainly had one too many bash <tab>s today :-) Here's the patch against 2.7.1's test_commands.py, not 2.7's :
[ root@jvdspc:/mnt/sda3/Python-2.7 18:04:15 1687:1180 ] $ diff -U0 /usr/src/Python-2.7.1/Lib/test/test_commands.py /tmp/test_commands.py --- /usr/src/Python-2.7.1/Lib/test/test_commands.py 2010-11-21 13:34:58.000000000 +0000 +++ /tmp/test_commands.py 2011-04-28 18:03:27.821395320 +0100 @@ -52,5 +52 @@ - pat = r'''d......... # It is a directory. - \+? # It may have ACLs. - \s+\d+ # It has some number of links. - [^/]* # Skip user, group, size, and date. - /\. # and end with the name of the file. + pat = r'''^.*(\/\.)[\ ]*[\n\r]*$ [ root@jvdspc:/mnt/sda3/Python-2.7 18:05:52 1688:1181 ] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11946> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com