[Python-checkins] CVS: python/dist/src/Lib/email Encoders.py,1.3,1.4 Errors.py,1.2,1.3 Generator.py,1.3,1.4 Iterators.py,1.3,1.4 MIMEBase.py,1.3,1.4 MIMEImage.py,1.2,1.3 MIMEMessage.py,1.2,1.3 MIMEText.py,1.2,1.3 Message.py,1.3,1.4 Parser.py,1.3,1.4 Utils.py,1.2,1.3 __init__.py,1.2,1.3

Barry Warsaw bwarsaw@users.sourceforge.net
2001年10月04日 10:05:13 -0700


Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv6739
Modified Files:
	Encoders.py Errors.py Generator.py Iterators.py MIMEBase.py 
	MIMEImage.py MIMEMessage.py MIMEText.py Message.py Parser.py 
	Utils.py __init__.py 
Log Message:
Give me back my page breaks.
Index: Encoders.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Encoders.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Encoders.py	2001年10月04日 05:36:56	1.3
--- Encoders.py	2001年10月04日 17:05:11	1.4
***************
*** 9,13 ****
 
 
! 
 # Helpers
 def _qencode(s):
--- 9,13 ----
 
 
! 
 # Helpers
 def _qencode(s):
***************
*** 26,31 ****
 return value
 
- 
 
 def encode_base64(msg):
 """Encode the message's payload in Base64.
--- 26,31 ----
 return value
 
 
+ 
 def encode_base64(msg):
 """Encode the message's payload in Base64.
***************
*** 38,43 ****
 msg['Content-Transfer-Encoding'] = 'base64'
 
- 
 
 def encode_quopri(msg):
 """Encode the message's payload in Quoted-Printable.
--- 38,43 ----
 msg['Content-Transfer-Encoding'] = 'base64'
 
 
+ 
 def encode_quopri(msg):
 """Encode the message's payload in Quoted-Printable.
***************
*** 50,55 ****
 msg['Content-Transfer-Encoding'] = 'quoted-printable'
 
- 
 
 def encode_7or8bit(msg):
 """Set the Content-Transfer-Encoding: header to 7bit or 8bit."""
--- 50,55 ----
 msg['Content-Transfer-Encoding'] = 'quoted-printable'
 
 
+ 
 def encode_7or8bit(msg):
 """Set the Content-Transfer-Encoding: header to 7bit or 8bit."""
***************
*** 65,69 ****
 
 
! 
 def encode_noop(msg):
 """Do nothing."""
--- 65,69 ----
 
 
! 
 def encode_noop(msg):
 """Do nothing."""
Index: Errors.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Errors.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Errors.py	2001年10月04日 05:36:56	1.2
--- Errors.py	2001年10月04日 17:05:11	1.3
***************
*** 6,10 ****
 
 
! 
 class MessageError(Exception):
 """Base class for errors in this module."""
--- 6,10 ----
 
 
! 
 class MessageError(Exception):
 """Base class for errors in this module."""
Index: Generator.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Generator.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Generator.py	2001年10月04日 05:36:56	1.3
--- Generator.py	2001年10月04日 17:05:11	1.4
***************
*** 26,30 ****
 
 
! 
 class Generator:
 """Generates output from a Message object tree.
--- 26,30 ----
 
 
! 
 class Generator:
 """Generates output from a Message object tree.
***************
*** 278,283 ****
 self._fp.write(s.getvalue())
 
- 
 
 class DecodedGenerator(Generator):
 """Generator a text representation of a message.
--- 278,283 ----
 self._fp.write(s.getvalue())
 
 
+ 
 class DecodedGenerator(Generator):
 """Generator a text representation of a message.
***************
*** 334,339 ****
 }
 
- 
 
 # Helper
 def _make_boundary(self, text=None):
--- 334,339 ----
 }
 
 
+ 
 # Helper
 def _make_boundary(self, text=None):
Index: Iterators.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Iterators.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Iterators.py	2001年10月04日 05:36:56	1.3
--- Iterators.py	2001年10月04日 17:05:11	1.4
***************
*** 10,14 ****
 
 
! 
 def body_line_iterator(msg):
 """Iterate over the parts, returning string payloads line-by-line."""
--- 10,14 ----
 
 
! 
 def body_line_iterator(msg):
 """Iterate over the parts, returning string payloads line-by-line."""
***************
*** 20,24 ****
 
 
! 
 def typed_subpart_iterator(msg, maintype='text', subtype=None):
 """Iterate over the subparts with a given MIME type.
--- 20,24 ----
 
 
! 
 def typed_subpart_iterator(msg, maintype='text', subtype=None):
 """Iterate over the subparts with a given MIME type.
Index: MIMEBase.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/MIMEBase.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MIMEBase.py	2001年10月04日 05:36:56	1.3
--- MIMEBase.py	2001年10月04日 17:05:11	1.4
***************
*** 8,12 ****
 
 
! 
 class MIMEBase(Message.Message):
 """Base class for MIME specializations."""
--- 8,12 ----
 
 
! 
 class MIMEBase(Message.Message):
 """Base class for MIME specializations."""
Index: MIMEImage.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/MIMEImage.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MIMEImage.py	2001年10月04日 05:36:56	1.2
--- MIMEImage.py	2001年10月04日 17:05:11	1.3
***************
*** 13,17 ****
 
 
! 
 class MIMEImage(MIMEBase.MIMEBase):
 """Class for generating image/* type MIME documents."""
--- 13,17 ----
 
 
! 
 class MIMEImage(MIMEBase.MIMEBase):
 """Class for generating image/* type MIME documents."""
Index: MIMEMessage.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/MIMEMessage.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MIMEMessage.py	2001年10月04日 05:36:56	1.2
--- MIMEMessage.py	2001年10月04日 17:05:11	1.3
***************
*** 9,13 ****
 
 
! 
 class MIMEMessage(MIMEBase.MIMEBase):
 """Class representing message/* MIME documents."""
--- 9,13 ----
 
 
! 
 class MIMEMessage(MIMEBase.MIMEBase):
 """Class representing message/* MIME documents."""
Index: MIMEText.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/MIMEText.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MIMEText.py	2001年10月04日 05:36:56	1.2
--- MIMEText.py	2001年10月04日 17:05:11	1.3
***************
*** 9,13 ****
 
 
! 
 class MIMEText(MIMEBase.MIMEBase):
 """Class for generating text/* type MIME documents."""
--- 9,13 ----
 
 
! 
 class MIMEText(MIMEBase.MIMEBase):
 """Class for generating text/* type MIME documents."""
Index: Message.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Message.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Message.py	2001年10月04日 05:36:56	1.3
--- Message.py	2001年10月04日 17:05:11	1.4
***************
*** 21,25 ****
 
 
! 
 class Message:
 """Basic message object for use inside the object tree.
--- 21,25 ----
 
 
! 
 class Message:
 """Basic message object for use inside the object tree.
Index: Parser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Parser.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Parser.py	2001年10月04日 05:36:56	1.3
--- Parser.py	2001年10月04日 17:05:11	1.4
***************
*** 15,19 ****
 
 
! 
 class Parser:
 def __init__(self, _class=Message.Message):
--- 15,19 ----
 
 
! 
 class Parser:
 def __init__(self, _class=Message.Message):
Index: Utils.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Utils.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Utils.py	2001年10月04日 05:36:56	1.2
--- Utils.py	2001年10月04日 17:05:11	1.3
***************
*** 22,26 ****
 
 
! 
 # Helpers
 
--- 22,26 ----
 
 
! 
 # Helpers
 
***************
*** 43,47 ****
 
 
! 
 def getaddresses(fieldvalues):
 """Return a list of (REALNAME, EMAIL) for each fieldvalue."""
--- 43,47 ----
 
 
! 
 def getaddresses(fieldvalues):
 """Return a list of (REALNAME, EMAIL) for each fieldvalue."""
***************
*** 51,55 ****
 
 
! 
 ecre = re.compile(r'''
 =\? # literal =?
--- 51,55 ----
 
 
! 
 ecre = re.compile(r'''
 =\? # literal =?
***************
*** 93,97 ****
 
 
! 
 def encode(s, charset='iso-8859-1', encoding='q'):
 """Encode a string according to RFC 2047."""
--- 93,97 ----
 
 
! 
 def encode(s, charset='iso-8859-1', encoding='q'):
 """Encode a string according to RFC 2047."""
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py	2001年10月04日 05:36:56	1.2
--- __init__.py	2001年10月04日 17:05:11	1.3
***************
*** 23,27 ****
 
 
! 
 # Some convenience routines
 from Parser import Parser as _Parser
--- 23,27 ----
 
 
! 
 # Some convenience routines
 from Parser import Parser as _Parser

AltStyle によって変換されたページ (->オリジナル) /