[Python-checkins] CVS: python/dist/src/Lib/email Encoders.py,1.2,1.3 Errors.py,1.1,1.2 Generator.py,1.2,1.3 Iterators.py,1.2,1.3 MIMEBase.py,1.2,1.3 MIMEImage.py,1.1,1.2 MIMEMessage.py,1.1,1.2 MIMEText.py,1.1,1.2 Message.py,1.2,1.3 Parser.py,1.2,1.3 Utils.py,1.1,1.2 __init__.py,1.1,1.2
Tim Peters
tim_one@users.sourceforge.net
2001年10月03日 22:36:58 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Lib difflib.py,1.5,1.6 quopri.py,1.16,1.17
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_email.py,1.2,1.3 test_iter.py,1.21,1.22 test_profile.py,1.1,1.2 test_unicode.py,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv3849/python/Lib/email
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:
Whitespace normalization.
Index: Encoders.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Encoders.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Encoders.py 2001年09月26日 05:26:22 1.2
--- Encoders.py 2001年10月04日 05:36:56 1.3
***************
*** 9,13 ****
!
# Helpers
def _qencode(s):
--- 9,13 ----
!
# Helpers
def _qencode(s):
***************
*** 27,31 ****
!
def encode_base64(msg):
"""Encode the message's payload in Base64.
--- 27,31 ----
!
def encode_base64(msg):
"""Encode the message's payload in Base64.
***************
*** 39,43 ****
!
def encode_quopri(msg):
"""Encode the message's payload in Quoted-Printable.
--- 39,43 ----
!
def encode_quopri(msg):
"""Encode the message's payload in Quoted-Printable.
***************
*** 51,55 ****
!
def encode_7or8bit(msg):
"""Set the Content-Transfer-Encoding: header to 7bit or 8bit."""
--- 51,55 ----
!
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.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Errors.py 2001年09月23日 03:17:28 1.1
--- Errors.py 2001年10月04日 05:36:56 1.2
***************
*** 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.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Generator.py 2001年09月26日 05:32:41 1.2
--- Generator.py 2001年10月04日 05:36:56 1.3
***************
*** 26,30 ****
!
class Generator:
"""Generates output from a Message object tree.
--- 26,30 ----
!
class Generator:
"""Generates output from a Message object tree.
***************
*** 279,283 ****
!
class DecodedGenerator(Generator):
"""Generator a text representation of a message.
--- 279,283 ----
!
class DecodedGenerator(Generator):
"""Generator a text representation of a message.
***************
*** 335,339 ****
!
# Helper
def _make_boundary(self, text=None):
--- 335,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.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Iterators.py 2001年09月26日 05:35:47 1.2
--- Iterators.py 2001年10月04日 05:36:56 1.3
***************
*** 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.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MIMEBase.py 2001年09月26日 05:36:36 1.2
--- MIMEBase.py 2001年10月04日 05:36:56 1.3
***************
*** 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.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MIMEImage.py 2001年09月26日 05:34:30 1.1
--- MIMEImage.py 2001年10月04日 05:36:56 1.2
***************
*** 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.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MIMEMessage.py 2001年09月26日 05:34:30 1.1
--- MIMEMessage.py 2001年10月04日 05:36:56 1.2
***************
*** 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.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MIMEText.py 2001年09月26日 05:34:30 1.1
--- MIMEText.py 2001年10月04日 05:36:56 1.2
***************
*** 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.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Message.py 2001年09月26日 05:41:51 1.2
--- Message.py 2001年10月04日 05:36:56 1.3
***************
*** 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.
***************
*** 431,435 ****
def get_charsets(self, failobj=None):
"""Return a list containing the charset(s) used in this message.
!
The returned list of items describes the Content-Type: headers'
charset parameter for this message and all the subparts in its
--- 431,435 ----
def get_charsets(self, failobj=None):
"""Return a list containing the charset(s) used in this message.
!
The returned list of items describes the Content-Type: headers'
charset parameter for this message and all the subparts in its
Index: Parser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Parser.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Parser.py 2001年09月26日 05:44:09 1.2
--- Parser.py 2001年10月04日 05:36:56 1.3
***************
*** 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.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Utils.py 2001年09月23日 03:17:28 1.1
--- Utils.py 2001年10月04日 05:36:56 1.2
***************
*** 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.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** __init__.py 2001年09月23日 03:17:28 1.1
--- __init__.py 2001年10月04日 05:36:56 1.2
***************
*** 23,27 ****
!
# Some convenience routines
from Parser import Parser as _Parser
--- 23,27 ----
!
# Some convenience routines
from Parser import Parser as _Parser
- Previous message: [Python-checkins] CVS: python/dist/src/Lib difflib.py,1.5,1.6 quopri.py,1.16,1.17
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_email.py,1.2,1.3 test_iter.py,1.21,1.22 test_profile.py,1.1,1.2 test_unicode.py,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]