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


Groups > comp.lang.python > #16395 > unrolled thread

RE: Can I submit an issue with Python 2.5.6?

Started byToshiyuki Ogura <mlto@live.jp>
First post2011-11-30 00:17 +0900
Last post2011-11-30 00:17 +0900
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#16395 — RE: Can I submit an issue with Python 2.5.6?

FromToshiyuki Ogura <mlto@live.jp>
Date2011-11-30 00:17 +0900
SubjectRE: Can I submit an issue with Python 2.5.6?
Message-ID<mailman.3127.1322579939.27778.python-list@python.org>
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

 		 	   		  

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web