changeset: 78909:e4ca4edee8bd user: Stefan Krah date: Thu Aug 30 12:33:55 2012 +0200 files: Doc/library/decimal.rst Doc/whatsnew/3.3.rst Misc/NEWS description: Closes #10650: Deprecate the watchexp parameter of Decimal.quantize(). diff -r 7734eb2707a1 -r e4ca4edee8bd Doc/library/decimal.rst --- a/Doc/library/decimal.rst Sat Sep 01 14:34:45 2012 +0200 +++ b/Doc/library/decimal.rst Thu Aug 30 12:33:55 2012 +0200 @@ -737,6 +737,11 @@ resulting exponent is greater than :attr:`Emax` or less than :attr:`Etiny`. + .. deprecated:: 3.3 + *watchexp* is an implementation detail from the pure Python version + and is not present in the C version. It will be removed in version + 3.4, where it defaults to ``True``. + .. method:: radix() Return ``Decimal(10)``, the radix (base) in which the :class:`Decimal` diff -r 7734eb2707a1 -r e4ca4edee8bd Doc/whatsnew/3.3.rst --- a/Doc/whatsnew/3.3.rst Sat Sep 01 14:34:45 2012 +0200 +++ b/Doc/whatsnew/3.3.rst Thu Aug 30 12:33:55 2012 +0200 @@ -1190,6 +1190,10 @@ changed to match the order displayed by :func:`repr`. +* The ``watchexp`` parameter in the :meth:`~decimal.Decimal.quantize` method + is deprecated. + + ftplib ------ diff -r 7734eb2707a1 -r e4ca4edee8bd Misc/NEWS --- a/Misc/NEWS Sat Sep 01 14:34:45 2012 +0200 +++ b/Misc/NEWS Thu Aug 30 12:33:55 2012 +0200 @@ -23,6 +23,9 @@ - Issue #15340: Fix importing the random module when /dev/urandom cannot be opened. This was a regression caused by the hash randomization patch. +- Issue #10650: Deprecate the watchexp parameter of the Decimal.quantize() + method. + - Issue #15785: Modify window.get_wch() API of the curses module: return a character for most keys, and an integer for special keys, instead of always returning an integer. So it is now possible to distinguish special