changeset: 92774:67f9e757f21b user: R David Murray date: Fri Oct 03 13:02:47 2014 -0400 files: Doc/whatsnew/3.5.rst Lib/email/__init__.py Misc/NEWS description: #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... diff -r c09cb5ef007d -r 67f9e757f21b Doc/whatsnew/3.5.rst --- a/Doc/whatsnew/3.5.rst Fri Oct 03 10:56:22 2014 -0500 +++ b/Doc/whatsnew/3.5.rst Fri Oct 03 13:02:47 2014 -0400 @@ -355,6 +355,14 @@ * 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 -r c09cb5ef007d -r 67f9e757f21b Lib/email/__init__.py --- a/Lib/email/__init__.py Fri Oct 03 10:56:22 2014 -0500 +++ b/Lib/email/__init__.py Fri Oct 03 13:02:47 2014 -0400 @@ -4,8 +4,6 @@ """A package for parsing, handling, and generating email messages.""" -__version__ = '5.1.0' - __all__ = [ 'base64mime', 'charset', diff -r c09cb5ef007d -r 67f9e757f21b Misc/NEWS --- a/Misc/NEWS Fri Oct 03 10:56:22 2014 -0500 +++ b/Misc/NEWS Fri Oct 03 13:02:47 2014 -0400 @@ -159,6 +159,10 @@ 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.