]> granicus.if.org Git - python/commitdiff
#22508: Drop email __version__ string. It no longer means anything.
authorR David Murray <rdmurray@bitdance.com>
Fri, 3 Oct 2014 17:02:47 +0000 (13:02 -0400)
committerR David Murray <rdmurray@bitdance.com>
Fri, 3 Oct 2014 17:02:47 +0000 (13:02 -0400)
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...

Doc/whatsnew/3.5.rst
Lib/email/__init__.py
Misc/NEWS

index 7fb0fd592674e491c07a5bae86904f725622ac42..3e44aa242df2bda9f45f31ae7436a6a1546a6197 100644 (file)
@@ -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
 =====================
 
index ff16f6af3f3574c7a87a0742e614227b633e0b96..fae872439edc66d6559250ec63cb049f6be70b6f 100644 (file)
@@ -4,8 +4,6 @@
 
 """A package for parsing, handling, and generating email messages."""
 
-__version__ = '5.1.0'
-
 __all__ = [
     'base64mime',
     'charset',
index dda3843fc893fdfc6b4a1e95f42341fb4c1e2477..f66a51ea79a4c865e45080fb9f2328b978bd8491 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.