Martin Panter
84835ab1cb
Issue #25161 : Merge full stops from 3.4 into 3.5
2015-10-10 10:44:25 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00
Serhiy Storchaka
fbd011dd49
Fix minor docs markup errors.
2015-03-14 21:34:25 +02:00
Serhiy Storchaka
b19542d062
Fix minor docs markup errors.
2015-03-14 21:32:57 +02:00
Stefan Krah
b151f8f60b
Issue #10650 : Remove the non-standard 'watchexp' parameter from the
...
Decimal.quantize() method in the Python version. It had never been
present in the C version.
2014-04-30 19:15:38 +02:00
Andrew Kuchling
2e3743cd30
#13437 : link to the source code for a few more modules
2014-03-19 16:23:01 -04:00
Serhiy Storchaka
22dc4d5fa8
Issue #19794 : Improved markup for True/False constants.
2013-11-26 17:32:16 +02:00
Stefan Krah
040e311826
Issue #15783 : Except for the number methods, the C version of decimal now
...
supports all None default values present in decimal.py. These values were
largely undocumented.
2012-12-15 22:33:33 +01:00
Mark Dickinson
eb54deb2d2
Merge typo fix from 3.2.
2012-11-18 10:42:27 +00:00
Mark Dickinson
ec967246a1
Typo fix.
2012-11-18 10:42:07 +00:00
Mark Dickinson
f56c361212
Issue #12005 : merge doc patch from 3.2
2012-11-18 10:22:40 +00:00
Mark Dickinson
a3f37408da
Issue #12005 : clarify behaviour of % and // for Decimal objects.
2012-11-18 10:22:05 +00:00
Mark Dickinson
d3405edcdc
Issue #16348 : merge fix from 3.2.
2012-10-31 19:45:05 +00:00
Mark Dickinson
6ae568b9df
Issue #16348 : Fix incorrect documentation for Decimal.remainder_near.
2012-10-31 19:44:36 +00:00
Stefan Krah
af3f3a7f00
Closes #10650 : Deprecate the watchexp parameter of Decimal.quantize().
2012-08-30 12:33:55 +02:00
Stefan Krah
b6405efd1b
Use the same exception hierarchy as decimal.py. FloatOperation now also
...
inherits from TypeError. Cleanup in module initialization to make repeated
import failures robust.
2012-03-23 14:46:48 +01:00
Stefan Krah
851a07e5c2
Document decimal.MIN_ETINY.
2012-03-21 18:47:20 +01:00
Stefan Krah
1919b7e72b
Issue #7652 : Integrate the decimal floating point libmpdec library to speed
...
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
Terry Jan Reedy
a931463fea
#13730 grammar fix
2012-01-13 23:43:13 -05:00
Senthil Kumaran
a6bac95a3c
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.
2011-07-04 11:28:30 -07:00
Alexander Belopolsky
287d1fdd3f
Issue #10225 : Fixed the simple mistakes in doctests.
2011-01-12 16:37:14 +00:00
Raymond Hettinger
0ab10e4600
Issue #10813 : Small improvement to decimal money format recipe.
2011-01-08 09:03:11 +00:00
Mark Dickinson
b2b2382dc4
Fix capitalization.
2010-11-21 07:37:49 +00:00
Raymond Hettinger
2a1e3e29d4
Issue #7770 : Note the useful range of sin/cos in the decimal module examples.
2010-11-21 02:47:22 +00:00
Mark Dickinson
43ef32ae36
Issue 10297: Add missing import in decimal example snippet.
2010-11-07 11:24:44 +00:00
Georg Brandl
67b21b7547
Consistency check for versionadded/changed directives.
2010-08-17 15:07:14 +00:00
Mark Dickinson
08ade6faa0
Issue #8188 : Comparisons between Decimal objects and other numeric
...
objects (Fraction, float, complex, int) now all function as expected.
2010-06-11 10:44:52 +00:00
Stefan Krah
a119393dc4
Merged revisions 81598 via svnmerge from
...
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
........
2010-05-29 12:59:18 +00:00
Mark Dickinson
b1d8e3229c
#Issue 8540: Make Context._clamp attribute public in decimal module.
2010-05-22 18:35:36 +00:00
Ezio Melotti
cfe0af4c07
Merged revisions 79768 via svnmerge from
...
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.
........
2010-04-04 23:27:45 +00:00
Mark Dickinson
e534a077e5
Merged revisions 79756 via svnmerge from
...
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.
........
2010-04-04 22:13:14 +00:00
Ezio Melotti
993a5ee026
Fix versionchanged from 2.7 to 3.2 in decimal.rst.
2010-04-04 06:30:08 +00:00
Mark Dickinson
ac256ab284
Merged revisions 79583,79588-79589 via svnmerge from
...
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.
........
2010-04-03 11:08:14 +00:00
Raymond Hettinger
9679859890
Issue 8257: Decimal constructor to accept float argument.
2010-04-02 16:58:27 +00:00
Mark Dickinson
5961b0e35f
Merged revisions 78312 via svnmerge from
...
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.
........
2010-02-22 15:41:48 +00:00
Mark Dickinson
5d233fd6ff
Remove references to the 'long' type in py3k decimal docs.
2010-02-18 14:54:37 +00:00
Mark Dickinson
84230a1eb2
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.
........
2010-02-18 14:49:50 +00:00
Mark Dickinson
345adc43a3
Issue #6595 : Allow Decimal constructor to accept non-European decimal digits, as recommended by the specification.
2009-08-02 10:14:23 +00:00
Georg Brandl
502d9a5c2c
Merged revisions 74207 via svnmerge from
...
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.
........
2009-07-26 15:02:41 +00:00
Alexandre Vassalotti
260484d12a
Merged revisions 73665,73693,73704-73705,73707,73712-73713,73824 via 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.
........
2009-07-17 11:43:26 +00:00
Mark Dickinson
8dad7df2b0
Corrections to decimal flying circus: round returns a Decimal;
...
float should have a short repr.
2009-06-28 20:36:54 +00:00
Georg Brandl
71515ca191
Remove surplus empty lines and convert more files to new optional arg style.
2009-05-17 12:29:12 +00:00
Benjamin Peterson
25c95f1298
Merged revisions 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.
........
2009-05-08 20:42:26 +00:00
Raymond Hettinger
d258d1e7e8
Update decimal docs for the new floating point repr().
2009-04-23 22:06:12 +00:00
Raymond Hettinger
960dc3626a
Update links and version info.
2009-04-21 03:43:15 +00:00
Georg Brandl
c2a4f4fb67
Update signature style for optional arguments, part 3.
2009-04-10 09:03:43 +00:00
Georg Brandl
48310cd3f2
Remove trailing whitespace.
2009-01-03 21:18:54 +00:00
Georg Brandl
36ab1ef8ee
Merged revisions 68219 via svnmerge from
...
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.
........
2009-01-03 21:17:04 +00:00
Georg Brandl
45f53370e7
Merged revisions 68214-68215,68217-68218 via svnmerge from
...
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.
........
2009-01-03 21:15:20 +00:00
Raymond Hettinger
771ed76102
Issue 4796: Add from_float methods to the decimal module.
2009-01-03 19:20:32 +00:00