[Python-checkins] python/dist/src/Lib mailbox.py,1.38,1.39
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Mon, 26 Aug 2002 09:44:59 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv24366
Modified Files:
mailbox.py
Log Message:
Fix an inaccuracy in the comment
Index: mailbox.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mailbox.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** mailbox.py 30 Jun 2002 03:39:14 -0000 1.38
--- mailbox.py 26 Aug 2002 16:44:56 -0000 1.39
***************
*** 138,143 ****
# that the two characters preceding "From " are \n\n or the beginning of
# the file. Fixing this would require a more extensive rewrite than is
! # necessary. For convenience, we've added a StrictUnixMailbox class which
! # uses the older, more strict _fromlinepattern regular expression.
_fromlinepattern = r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+" \
--- 138,143 ----
# that the two characters preceding "From " are \n\n or the beginning of
# the file. Fixing this would require a more extensive rewrite than is
! # necessary. For convenience, we've added a PortableUnixMailbox class
! # which uses the more lenient _fromlinepattern regular expression.
_fromlinepattern = r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+" \