summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-02-18 14:49:50 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-02-18 14:49:50 (GMT)
commit84230a1eb27e2b11a2eb8d0d4d0145179719d4f3 (patch)
tree0818aecadbb00bb62991e4ccfd64968fa33bb667 /Misc
parent184bdfb03a6a012ba76c43b9a8a98a67ad4d8bad (diff)
downloadcpython-84230a1eb27e2b11a2eb8d0d4d0145179719d4f3.zip
cpython-84230a1eb27e2b11a2eb8d0d4d0145179719d4f3.tar.gz
cpython-84230a1eb27e2b11a2eb8d0d4d0145179719d4f3.tar.bz2
Merged revisions 78217-78218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines Issue #7633: Context method in the decimal module (with the exception of the 'canonical' and 'is_canonical' methods) now consistently accept integer arguments wherever a Decimal instance is accepted. Thanks Juan José Conti for the patch. ........ r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS6
2 files changed, 7 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 847d1d1..94e22b3 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -150,6 +150,7 @@ Benjamin Collar
Jeffery Collins
Robert Collins
Paul Colomiets
+Juan José Conti
Matt Conway
David M. Cooke
Greg Copeland
diff --git a/Misc/NEWS b/Misc/NEWS
index 64c17ff..ab83413 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -242,6 +242,12 @@ C-API
Library
-------
+- Issue #7633: In the decimal module, Context class methods (with the
+ exception of canonical and is_canonical) now accept instances of int
+ and long wherever a Decimal instance is accepted, and implicitly
+ convert that argument to Decimal. Previously only some arguments
+ were converted.
+
- Issue #7835: shelve should no longer produce mysterious warnings during
interpreter shutdown.