Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16395

RE: Can I submit an issue with Python 2.5.6?

From Toshiyuki Ogura <mlto@live.jp>
Subject RE: Can I submit an issue with Python 2.5.6?
Date 2011-11-30 00:17 +0900
References <CAB4yi1POmj32t3YLBSG2XsvM_E_yB1W7KG2=XCUkt5RSsoL9bg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3127.1322579939.27778.python-list@python.org> (permalink)

Show all headers | View raw


I mistakenly posted the previous message in html format, and some rubbish text '&nbs p;' was unexpectedly inserted in the patch.
I'll post the content of the patch again.
Sorry for the inconvenience.


--- Python-2.5.6/Lib/test/test_commands.py.orig    2006-06-29 04:10:08.000000000 +0000
+++ Python-2.5.6/Lib/test/test_commands.py    2011-11-29 08:46:29.602607019 +0000
@@ -46,11 +46,7 @@
         #     drwxr-xr-x   15 Joe User My Group     4096 Aug 12 12:50 /
         # Note that the first case above has a space in the group name
         # while the second one has a space in both names.
-        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]*$
                '''
 
         self.assert_(re.match(pat, getstatus("/."), re.VERBOSE))






Toshiyuki Ogura

 		 	   		  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Can I submit an issue with Python 2.5.6? Toshiyuki Ogura <mlto@live.jp> - 2011-11-30 00:17 +0900

csiph-web