diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-10-03 17:02:47 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-10-03 17:02:47 (GMT) |
commit | df75fee9a35c2ac33e94744216e0a49e8aa0bae4 (patch) | |
tree | f77c088dcd1e57df1b500da78b8a32a7a52baf75 | |
parent | 4d2aba3ab38b7a9de01aaf821570c2e0bd1aa02a (diff) | |
download | cpython-df75fee9a35c2ac33e94744216e0a49e8aa0bae4.zip cpython-df75fee9a35c2ac33e94744216e0a49e8aa0bae4.tar.gz cpython-df75fee9a35c2ac33e94744216e0a49e8aa0bae4.tar.bz2 |
#22508: Drop email __version__ string. It no longer means anything.
A debian code search (by Tshepang Lekhonkhobe) turned up only one package
checking email.__version__...and it was the 2.7-only mailman package. Since
Barry approves this change, it seems safe enough to make it...
-rw-r--r-- | Doc/whatsnew/3.5.rst | 8 | ||||
-rw-r--r-- | Lib/email/__init__.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 7fb0fd5..3e44aa2 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -355,6 +355,14 @@ Deprecated features * None yet. +Removed +======= + +* The ``__version__`` attribute has been dropped from the email package. The + email code hasn't been shipped separately from the stdlib for a long time, + and the ``__version__`` string was not updated in the last few releases. + + Porting to Python 3.5 ===================== diff --git a/Lib/email/__init__.py b/Lib/email/__init__.py index ff16f6a..fae8724 100644 --- a/Lib/email/__init__.py +++ b/Lib/email/__init__.py @@ -4,8 +4,6 @@ """A package for parsing, handling, and generating email messages.""" -__version__ = '5.1.0' - __all__ = [ 'base64mime', 'charset', @@ -159,6 +159,10 @@ Core and Builtins Library ------- +- Issue #22508: The email.__version__ variable has been removed; the email + code is no longer shipped separately from the stdlib, and __version__ + hasn't been updated in several releases. + - Issue #20076: Added non derived UTF-8 aliases to locale aliases table. - Issue #20079: Added locales supported in glibc 2.18 to locale alias table. |