summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.5.Stefan Krah2016-07-171-8/+51
|\
| * Issue #26974: Fix segfault in the presence of absurd subclassing. ProactivelyStefan Krah2016-07-171-3/+47
| | | | | | | | eliminate all internal uses of overridden methods.
* | Merge 3.5.Stefan Krah2016-06-201-1/+1
|\ \ | |/
| * Issue #27006: Do not use PyDec_CheckExact() on a type.Stefan Krah2016-06-201-1/+1
| |
* | Merge 3.5.Stefan Krah2016-06-201-2/+8
|\ \ | |/
| * Issue #27006: from_float(): call the subclass' __new__() and __init__().Stefan Krah2016-06-201-2/+8
| |
* | Issue #26846: Post commit cleanup.Stefan Krah2016-04-261-1/+0
| |
* | Issue #26846: Workaround for non-standard stdlib.h on Android.Stefan Krah2016-04-255-6/+4
| |
* | Issue #26200: Restored more safe usages of Py_SETREF.Serhiy Storchaka2016-04-111-4/+4
|\ \ | |/
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-4/+4
|\ \ | |/
* | Issue #26621: Update libmpdec version and remove unnecessary test case.Stefan Krah2016-03-231-2/+2
| |
* | Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).Stefan Krah2016-01-171-0/+5
| |
* | Issue #25928: Add Decimal.as_integer_ratio(). Python parts and docs byStefan Krah2015-12-283-3/+113
|/ | | | Mark Dickinson.
* Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-1/+1
| | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* Issue #24974: Force fp-model precice in mpdecimal.c on WindowsZachary Ware2015-09-031-0/+1
| | | | As suggested by Steve Dower and approved by Stefan Krah.
* Closes #17202: Merge with 3.4Zachary Ware2015-04-131-111/+111
|\
| * Issue #17202: Add .bat to .hgeol to force them to CRLF.Zachary Ware2015-04-131-111/+111
| | | | | | | | | | Using LF can a script to fail if it tries to use a label that is split across 512 byte blocks. Who knows why.
* | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-1/+1
|\ \ | |/ | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
| * Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-1/+1
| | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* | Removed redundant casts to `char *`.Serhiy Storchaka2014-09-281-2/+2
| | | | | | | | Corresponding functions now accept `const char *` (issue #1772673).
* | Issue #19232: Speed up decimal import. Additionally, since _decimal isStefan Krah2014-09-101-3/+4
| | | | | | | | | | self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation.
* | Merge 3.4.Stefan Krah2014-08-262-4/+8
|\ \ | |/
| * Introduce and check for MPD_VERSION_HEX for precise management of buildsStefan Krah2014-08-262-4/+8
| | | | | | | | with an external libmpdec.
* | Merge 3.4.Stefan Krah2014-08-261-4/+7
|\ \ | |/
| * Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah2014-08-261-4/+7
| |
| * Issue #21374: Fix pickling of DecimalTuple.Stefan Krah2014-04-291-4/+9
| |
* | Use $type instead of $cls in the signature specification.Stefan Krah2014-05-021-1/+1
| |
* | Issue #21407: _decimal now supports function signatures.Stefan Krah2014-05-011-378/+482
| |
* | Issue #21374: Fix pickling of DecimalTuple.Stefan Krah2014-04-291-4/+9
|/
* remove unused zero constantsBenjamin Peterson2014-03-151-3/+0
|
* Issue #19936: Remove executable bits from C source files and several forgottenSerhiy Storchaka2014-01-162-0/+0
| | | | test files.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-162-0/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* Issue #19936: Disable shebang lines in order to prevent using a randomStefan Krah2014-01-163-6/+0
| | | | system python.
* Whitespace.Stefan Krah2014-01-041-3/+3
|
* Issue #19986: Avoid an incorrect warning of older gcc versions.Stefan Krah2013-12-151-3/+4
|
* Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subvertedStefan Krah2013-12-141-9/+11
| | | | | by including stdint.h before mpdecimal.h. In that case the only option left is to compile with -D_STDC_LIMIT_MACROS.
* Do not discard const qualifier without a reason.Stefan Krah2013-12-121-7/+7
|
* Fix two typos.Stefan Krah2013-12-082-2/+2
|
* Missed one copyright.Stefan Krah2013-12-081-1/+1
|
* Update copyright. The four year increment is intentional (to save work).Stefan Krah2013-12-0833-33/+33
|
* Make a couple of parameters constant.Stefan Krah2013-12-032-14/+14
|
* 1) Prepare libmpdec for the 2.4.0 release. None of the following changes ↵Stefan Krah2013-11-243-36/+326
| | | | | | | | | | | | | | | | | | affects _decimal: o Make all "mpd_t to C integer" conversion functions available in both the 64-bit and the 32-bit versions. o Make all mixed mpd_t/C integer arithmetic functions available in the 32-bit version. o Better handling of __STDC_LIMIT_MACROS for C++ users. o Add struct tags (at the request of C++ users). 2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
* Move PyErr_NoMemory() closer to the failure.Stefan Krah2013-11-081-1/+1
|
* Change style to match the surrounding code (no early returns).Stefan Krah2013-11-081-4/+3
|
* Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()Victor Stinner2013-10-291-0/+1
| | | | failure (memory allocation failure): raise a MemoryError exception
* Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handleVictor Stinner2013-10-291-10/+17
| | | | PyObject_IsInstance() failure
* Support multiarch build in tests.Stefan Krah2013-05-291-7/+8
|
* Backport bff16086f03b and bcaaaa00425b.Stefan Krah2013-05-291-5/+5
|
* Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-293-15/+59
| | | | character in _decimal.c.
* Fix a few typos and a double semicolon. Patch by Eitan Adler.Ezio Melotti2013-01-271-1/+1
|