Skip to content

Commit c350602

Browse files
committed
SF patch #1556895; Typo in encoding name in email package.
Patch supplied by Guillaume Rousse.
1 parent 79aa580 commit c350602

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Lib/email/Charset.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Copyright (C) 2001-2006 Python Software Foundation
2-
# Author: che@debian.org (Ben Gertzfield), barry@python.org (Barry Warsaw)
1+
# Copyright (C) 2001-2007 Python Software Foundation
2+
# Author: email-sig@python.org
33

44
from types import UnicodeType
55
from email.Encoders import encode_7or8bit
@@ -99,7 +99,7 @@ def _isunicode(s):
9999
# of stability and useability.
100100

101101
CODEC_MAP = {
102-
'gb2132': 'eucgb2312_cn',
102+
'gb2312': 'eucgb2312_cn',
103103
'big5': 'big5_tw',
104104
'utf-8': 'utf-8',
105105
# Hack: We don't want *any* conversion for stuff marked us-ascii, as all

Lib/email/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Copyright (C) 2001-2006 Python Software Foundation
2-
# Author: barry@python.org (Barry Warsaw)
1+
# Copyright (C) 2001-2007 Python Software Foundation
2+
# Author: email-sig@python.org
33

44
"""A package for parsing, handling, and generating email messages."""
55

6-
__version__ = '2.5.8'
6+
__version__ = '2.5.9'
77

88
__all__ = [
99
'base64MIME',

0 commit comments

Comments
 (0)