summaryrefslogtreecommitdiffstats
path: root/Doc/library/decimal.rst
Commit message (Collapse)AuthorAgeFilesLines
* Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-3/+0
| | | | to SilentGhost for the patch.
* Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-101-1/+1
|\
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
| |
* | Fix minor docs markup errors.Serhiy Storchaka2015-03-141-1/+1
|\ \ | |/
| * Fix minor docs markup errors.Serhiy Storchaka2015-03-141-1/+1
| |
* | Issue #10650: Remove the non-standard 'watchexp' parameter from theStefan Krah2014-04-301-9/+3
| | | | | | | | | | Decimal.quantize() method in the Python version. It had never been present in the C version.
* | #13437: link to the source code for a few more modulesAndrew Kuchling2014-03-191-1/+2
|/
* Issue #19794: Improved markup for True/False constants.Serhiy Storchaka2013-11-261-13/+13
|
* Issue #15783: Except for the number methods, the C version of decimal nowStefan Krah2012-12-151-41/+54
| | | | | supports all None default values present in decimal.py. These values were largely undocumented.
* Merge typo fix from 3.2.Mark Dickinson2012-11-181-1/+1
|\
| * Typo fix.Mark Dickinson2012-11-181-1/+1
| |
* | Issue #12005: merge doc patch from 3.2Mark Dickinson2012-11-181-0/+23
|\ \ | |/
| * Issue #12005: clarify behaviour of % and // for Decimal objects.Mark Dickinson2012-11-181-0/+23
| |
* | Issue #16348: merge fix from 3.2.Mark Dickinson2012-10-311-6/+15
|\ \ | |/
| * Issue #16348: Fix incorrect documentation for Decimal.remainder_near.Mark Dickinson2012-10-311-6/+15
| |
* | Closes #10650: Deprecate the watchexp parameter of Decimal.quantize().Stefan Krah2012-08-301-0/+5
| |
* | Use the same exception hierarchy as decimal.py. FloatOperation now alsoStefan Krah2012-03-231-1/+1
| | | | | | | | | | inherits from TypeError. Cleanup in module initialization to make repeated import failures robust.
* | Document decimal.MIN_ETINY.Stefan Krah2012-03-211-9/+12
| |
* | Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-211-29/+147
|/ | | | | up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.
* #13730 grammar fixTerry Jan Reedy2012-01-141-1/+1
|
* issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵Senthil Kumaran2011-07-041-1/+1
| | | | attribute and 'methods' where it denotes methods. Context should clarify usage.
* Issue #10225: Fixed the simple mistakes in doctests.Alexander Belopolsky2011-01-121-1/+1
|
* Issue #10813: Small improvement to decimal money format recipe.Raymond Hettinger2011-01-081-1/+2
|
* Fix capitalization.Mark Dickinson2010-11-211-2/+2
|
* Issue #7770: Note the useful range of sin/cos in the decimal module examples.Raymond Hettinger2010-11-211-0/+6
|
* Issue 10297: Add missing import in decimal example snippet.Mark Dickinson2010-11-071-0/+1
|
* Consistency check for versionadded/changed directives.Georg Brandl2010-08-171-4/+4
|
* Issue #8188: Comparisons between Decimal objects and other numericMark Dickinson2010-06-111-15/+9
| | | | objects (Fraction, float, complex, int) now all function as expected.
* Merged revisions 81598 via svnmerge fromStefan Krah2010-05-291-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81598 | stefan.krah | 2010-05-29 14:54:35 +0200 (Sat, 29 May 2010) | 1 line Fix typo ........
* #Issue 8540: Make Context._clamp attribute public in decimal module.Mark Dickinson2010-05-221-4/+21
|
* Merged revisions 79768 via svnmerge fromEzio Melotti2010-04-041-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79768 | ezio.melotti | 2010-04-05 02:21:53 +0300 (Mon, 05 Apr 2010) | 1 line Fix markup in decimal.rst. ........
* Merged revisions 79756 via svnmerge fromMark Dickinson2010-04-041-7/+15
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79756 | mark.dickinson | 2010-04-04 23:09:21 +0100 (Sun, 04 Apr 2010) | 6 lines Add versionchanged entry for Decimal(float) construction. Also add an example of constructing a Decimal directly from a float, update the quickstart tutorial, and tweak another couple of sentences. ........
* Fix versionchanged from 2.7 to 3.2 in decimal.rst.Ezio Melotti2010-04-041-1/+1
|
* Merged revisions 79583,79588-79589 via svnmerge fromMark Dickinson2010-04-031-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79583 | mark.dickinson | 2010-04-02 09:53:22 +0100 (Fri, 02 Apr 2010) | 7 lines Issue #2531: Make float-to-decimal comparisons return correct results. Float to decimal comparison operations now return a result based on the numeric values of the operands. Decimal.__hash__ has also been fixed so that Decimal and float values that compare equal have equal hash value. ........ r79588 | mark.dickinson | 2010-04-02 11:17:07 +0100 (Fri, 02 Apr 2010) | 2 lines Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation. ........ r79589 | mark.dickinson | 2010-04-02 11:35:12 +0100 (Fri, 02 Apr 2010) | 6 lines Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable. Also rewrite the Decimal __hash__ method so that it doesn't rely on float('inf') being valid: float('inf') could raise an exception on platforms not using IEEE 754 arithmetic. ........
* Issue 8257: Decimal constructor to accept float argument.Raymond Hettinger2010-04-021-26/+9
|
* Merged revisions 78312 via svnmerge fromMark Dickinson2010-02-221-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78312 | mark.dickinson | 2010-02-22 15:40:28 +0000 (Mon, 22 Feb 2010) | 1 line Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0. ........
* Remove references to the 'long' type in py3k decimal docs.Mark Dickinson2010-02-181-2/+2
|
* Merged revisions 78217-78218 via svnmerge fromMark Dickinson2010-02-181-2/+5
| | | | | | | | | | | | | | | | | 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. ........
* Issue #6595: Allow Decimal constructor to accept non-European decimal ↵Mark Dickinson2009-08-021-0/+5
| | | | digits, as recommended by the specification.
* Merged revisions 74207 via svnmerge fromGeorg Brandl2009-07-261-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. ........
* Merged revisions 73665,73693,73704-73705,73707,73712-73713,73824 via ↵Alexandre Vassalotti2009-07-171-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73665 | alexandre.vassalotti | 2009-06-28 21:01:51 -0400 (Sun, 28 Jun 2009) | 2 lines Update docstrings for sys.getdlopenflags() and sys.setdlopenflags(). ........ r73693 | jesse.noller | 2009-06-29 14:20:34 -0400 (Mon, 29 Jun 2009) | 1 line Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons ........ r73704 | georg.brandl | 2009-06-30 12:15:43 -0400 (Tue, 30 Jun 2009) | 1 line #6376: fix copy-n-paste oversight. ........ r73705 | georg.brandl | 2009-06-30 12:17:28 -0400 (Tue, 30 Jun 2009) | 1 line #6374: add a bit of explanation about shell=True on Windows. ........ r73707 | georg.brandl | 2009-06-30 12:35:11 -0400 (Tue, 30 Jun 2009) | 1 line #6371: fix link targets. ........ r73712 | ezio.melotti | 2009-06-30 18:51:06 -0400 (Tue, 30 Jun 2009) | 1 line Fixed defaultTestCase -> defaultTestResult ........ r73713 | ezio.melotti | 2009-06-30 18:56:16 -0400 (Tue, 30 Jun 2009) | 1 line Fixed a backslash that was not supposed to be there ........ r73824 | ezio.melotti | 2009-07-03 21:18:08 -0400 (Fri, 03 Jul 2009) | 1 line #6398 typo: versio. -> version. ........
* Corrections to decimal flying circus: round returns a Decimal;Mark Dickinson2009-06-281-3/+3
| | | | float should have a short repr.
* Remove surplus empty lines and convert more files to new optional arg style.Georg Brandl2009-05-171-1/+0
|
* Merged revisions ↵Benjamin Peterson2009-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70768,71657,71721,71729,71794,71976,72036-72037,72079,72085,72131-72134,72191,72197-72198,72219,72221,72225,72303,72434,72467,72476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70768 | andrew.kuchling | 2009-03-30 17:29:15 -0500 (Mon, 30 Mar 2009) | 1 line Typo fixes ........ r71657 | vinay.sajip | 2009-04-16 14:07:37 -0500 (Thu, 16 Apr 2009) | 1 line Issue #5768: Change to Unicode output logic and test case for same. ........ r71721 | benjamin.peterson | 2009-04-18 14:26:19 -0500 (Sat, 18 Apr 2009) | 1 line fix a few nits in unittest.py #5771 ........ r71729 | benjamin.peterson | 2009-04-18 16:03:10 -0500 (Sat, 18 Apr 2009) | 1 line move test to a more appropiate one ........ r71794 | vinay.sajip | 2009-04-22 07:10:47 -0500 (Wed, 22 Apr 2009) | 2 lines Issue #5170: Fixed regression caused when fixing #5768. ........ r71976 | mark.dickinson | 2009-04-26 14:54:55 -0500 (Sun, 26 Apr 2009) | 2 lines Fix typo in function name ........ r72036 | georg.brandl | 2009-04-27 12:04:23 -0500 (Mon, 27 Apr 2009) | 1 line #5848: small unittest doc patch. ........ r72037 | georg.brandl | 2009-04-27 12:09:53 -0500 (Mon, 27 Apr 2009) | 1 line #5840: dont claim we dont support TLS. ........ r72079 | r.david.murray | 2009-04-28 14:02:55 -0500 (Tue, 28 Apr 2009) | 2 lines Remove spurious 'u'. ........ r72085 | georg.brandl | 2009-04-28 16:48:35 -0500 (Tue, 28 Apr 2009) | 1 line Make the doctests in the docs pass, except for those in the turtle module. ........ r72131 | benjamin.peterson | 2009-04-29 17:43:35 -0500 (Wed, 29 Apr 2009) | 1 line fix test_shutil on ZFS #5676 ........ r72132 | georg.brandl | 2009-04-29 17:44:07 -0500 (Wed, 29 Apr 2009) | 1 line #5878: fix repr of re object. ........ r72133 | benjamin.peterson | 2009-04-29 17:44:15 -0500 (Wed, 29 Apr 2009) | 1 line make sure mode is removable while cleaning up test droppings ........ r72134 | benjamin.peterson | 2009-04-29 19:06:33 -0500 (Wed, 29 Apr 2009) | 1 line make sure to close file ........ r72191 | michael.foord | 2009-05-02 06:43:06 -0500 (Sat, 02 May 2009) | 9 lines Adds an exit parameter to unittest.main(). If False main no longer calls sys.exit. Closes issue 3379. Michael Foord ........ r72197 | benjamin.peterson | 2009-05-02 11:24:37 -0500 (Sat, 02 May 2009) | 1 line don't let sys.argv be used in the tests ........ r72198 | andrew.kuchling | 2009-05-02 12:12:15 -0500 (Sat, 02 May 2009) | 1 line Add items ........ r72219 | michael.foord | 2009-05-02 15:15:05 -0500 (Sat, 02 May 2009) | 8 lines Add addCleanup and doCleanups to unittest.TestCase. Closes issue 5679. Michael Foord ........ r72221 | benjamin.peterson | 2009-05-02 15:26:53 -0500 (Sat, 02 May 2009) | 1 line add myself ........ r72225 | michael.foord | 2009-05-02 17:43:34 -0500 (Sat, 02 May 2009) | 1 line ........ r72303 | benjamin.peterson | 2009-05-04 19:55:24 -0500 (Mon, 04 May 2009) | 1 line using sys._getframe(x), where x > 0 doesnt' work on IronPython ........ r72434 | r.david.murray | 2009-05-07 13:09:58 -0500 (Thu, 07 May 2009) | 2 lines Pre-opened test file needs to be opened in binary mode. ........ r72467 | georg.brandl | 2009-05-08 07:17:34 -0500 (Fri, 08 May 2009) | 1 line Fix name. ........ r72476 | thomas.heller | 2009-05-08 15:09:40 -0500 (Fri, 08 May 2009) | 4 lines Add a file that contains diffs between offical libffi files and the files in this repository. Should make it easier to merge new libffi versions. ........
* Update decimal docs for the new floating point repr().Raymond Hettinger2009-04-231-3/+3
|
* Update links and version info.Raymond Hettinger2009-04-211-1/+1
|
* Update signature style for optional arguments, part 3.Georg Brandl2009-04-101-1/+1
|
* Remove trailing whitespace.Georg Brandl2009-01-031-16/+16
|
* Merged revisions 68219 via svnmerge fromGeorg Brandl2009-01-031-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines Fix uses of the default role. ........
* Merged revisions 68214-68215,68217-68218 via svnmerge fromGeorg Brandl2009-01-031-12/+12
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68214 | georg.brandl | 2009-01-03 20:44:48 +0100 (Sat, 03 Jan 2009) | 2 lines Make indentation consistent. ........ r68215 | georg.brandl | 2009-01-03 21:15:14 +0100 (Sat, 03 Jan 2009) | 2 lines Fix role name. ........ r68217 | georg.brandl | 2009-01-03 21:30:15 +0100 (Sat, 03 Jan 2009) | 2 lines Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources. ........ r68218 | georg.brandl | 2009-01-03 21:38:59 +0100 (Sat, 03 Jan 2009) | 2 lines Recognize usage of the default role. ........