[Python-checkins] python/dist/src/Lib/email _parseaddr.py,1.7,1.8 (original) (raw)
bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Sat May 8 23:52:43 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Lib/email __init__.py,1.31,1.32
- Next message: [Python-checkins] python/dist/src/Lib/email base64MIME.py,1.6,1.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/python/python/dist/src/Lib/email In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15048
Modified Files: _parseaddr.py Log Message: Update to Python 2.3, getting rid of backward compatiblity crud.
Index: _parseaddr.py
RCS file: /cvsroot/python/python/dist/src/Lib/email/_parseaddr.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** _parseaddr.py 13 Jun 2003 21:16:06 -0000 1.7
--- _parseaddr.py 9 May 2004 03:52:40 -0000 1.8
***************
*** 1,3 ****
! # Copyright (C) 2002 Python Software Foundation
"""Email address parsing code.
--- 1,3 ----
! # Copyright (C) 2002-2004 Python Software Foundation
"""Email address parsing code.
***************
*** 7,17 ****
import time
- from types import TupleType
- try:
True, False
- except NameError:
True = 1
SPACE = ' 'False = 0
--- 7,10 ----
*** 131,135 **** """Convert a time string to a time tuple.""" t = parsedate_tz(data) ! if isinstance(t, TupleType): return t[:9] else: --- 124,128 ---- """Convert a time string to a time tuple.""" t = parsedate_tz(data) ! if isinstance(t, tuple): return t[:9] else:
- Previous message: [Python-checkins] python/dist/src/Lib/email __init__.py,1.31,1.32
- Next message: [Python-checkins] python/dist/src/Lib/email base64MIME.py,1.6,1.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]