summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2010-05-25 13:34:08 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2010-05-25 13:34:08 (GMT)
commit264acad721612174c3424946786ac32ca9b9318d (patch)
treed592a9d53c0ff03f67a1b85a64ce4068ab73df6c /Doc
parenteeaf33ee717039eb21fae839079d4e953e4f9a66 (diff)
downloadcpython-264acad721612174c3424946786ac32ca9b9318d.zip
cpython-264acad721612174c3424946786ac32ca9b9318d.tar.gz
cpython-264acad721612174c3424946786ac32ca9b9318d.tar.bz2
Add three items
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/2.7.rst19
1 files changed, 16 insertions, 3 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index d493d9a..fbdc11a 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -796,9 +796,11 @@ Some smaller changes made to the core Python language are:
deleting an unset attribute would not raise :exc:`AttributeError`
as you would expect. Fixed by Benjamin Peterson; :issue:`7604`.)
-* A new encoding named "cp720", used primarily for Arabic text, is now
- supported. (Contributed by Alexander Belchenko and Amaury Forgeot
- d'Arc; :issue:`1616979`.)
+* Two new encodings are now supported: "cp720", used primarily for
+ Arabic text; and "cp858", a variant of CP 850 that adds the euro
+ symbol. (CP720 contributed by Alexander Belchenko and Amaury
+ Forgeot d'Arc in :issue:`1616979`; CP858 contributed by Tim Hatch in
+ :issue:`8016`.)
* The :class:`file` object will now set the :attr:`filename` attribute
on the :exc:`IOError` exception when trying to open a directory
@@ -1066,6 +1068,11 @@ changes, or look through the Subversion logs for all the details.
(Added by Raymond Hettinger; :issue:`1818`.)
+ Finally, the :class:`~collections.Mapping` abstract base class now
+ raises a :exc:`NotImplemented` exception if a mapping is compared to
+ another type that isn't a :class:`Mapping`.
+ (Fixed by Daniel Stutzbach; :issue:`8729`.)
+
* Constructors for the parsing classes in the :mod:`ConfigParser` module now
take a *allow_no_value* parameter, defaulting to false; if true,
options without values will be allowed. For example::
@@ -1158,6 +1165,12 @@ changes, or look through the Subversion logs for all the details.
a separator in the header giving the filename. (Fixed by Anatoly
Techtonik; :issue:`7585`.)
+* The Distutils ``sdist`` command now always regenerates the
+ :file:`MANIFEST` file, since even if the :file:`MANIFEST.in` or
+ :file:`setup.py` files haven't been modified, the user might have
+ created some new files that should be included.
+ (Fixed by Tarek Ziadé; :issue:`8688`.)
+
* The :mod:`doctest` module's :const:`IGNORE_EXCEPTION_DETAIL` flag
will now ignore the name of the module containing the exception
being tested. (Patch by Lennart Regebro; :issue:`7490`.)