Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.8] bpo-41302: Support system libmpdec 2.5 for Python 3.8 (GH-21488) | Felix Yan | 2020-07-15 | 1 | -0/+7 |
| | | | | | | | Define UNUSED only when mpdecimal.h doesn't define it. This would support building with system libmpdec 2.5 while retaining compatibility with system libmpdec 2.4 or the vendored copy. Tested to build fine with either system libmpdec or the vendored one. | ||||
* | [3.8] Revert bpo-39576: Prevent memory error for overly optimistic ↵ | Stefan Krah | 2020-06-08 | 2 | -210/+6 |
| | | | | | precisions (GH-20747) This reverts commit b6271025c640c228505dc9f194362a0c2ab81c61. | ||||
* | [3.8] Explicitly initialize like the surrounding code (GH-18717) | Stefan Krah | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | [3.8] bpo-39794: Add --without-decimal-contextvar (GH-18702) | Stefan Krah | 2020-02-29 | 2 | -29/+176 |
| | | | (cherry picked from commit 815280eb160af637e1347213659f9236adf78f80) | ||||
* | bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581) ↵ | Miss Islington (bot) | 2020-02-21 | 2 | -6/+210 |
| | | | | | | | (#18584) (cherry picked from commit 90930e65455f60216f09d175586139242dbba260) Authored-by: Stefan Krah <skrah@bytereef.org> | ||||
* | Valgrind no longer supports --db-attach=yes. (GH-18568) (#18576) | Miss Islington (bot) | 2020-02-20 | 1 | -1/+1 |
| | | | | | | | | (cherry picked from commit c0cb8beb389da3ba67ad31b1ecc95e100b6292ab) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> | ||||
* | Use the new recommended number of repetitions in the refleak tests. ↵ | Miss Islington (bot) | 2020-02-20 | 1 | -1/+1 |
| | | | | | | | | | | (GH-18569) (#18574) (cherry picked from commit 1246d892038a693304549f8574e6c2784b91589a) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> | ||||
* | Update runall.bat to the latest Windows build system. (GH-18571) (#18573) | Miss Islington (bot) | 2020-02-20 | 1 | -41/+59 |
| | | | | | | | | (cherry picked from commit 9b833e00e447a3b8b6966686bff701f549c66263) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> | ||||
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-31 | 1 | -8/+8 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-36793: Remove unneeded __str__ definitions. (GH-13081) | Serhiy Storchaka | 2019-05-06 | 1 | -1/+1 |
| | | | | Classes that define __str__ the same as __repr__ can just inherit it from object. | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) | Serhiy Storchaka | 2018-11-27 | 1 | -38/+38 |
| | | | | | | Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS excluding Argument Clinic generated code. | ||||
* | bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) | Victor Stinner | 2018-10-26 | 1 | -5/+5 |
| | | | | | | | | | | | | | Declare functions with EXTINLINE: * mpd_del() * mpd_uint_zero() * mpd_qresize() * mpd_qresize_zero() * mpd_minalloc() These functions are implemented with "inline" or "ALWAYS_INLINE", but declared without inline which cause linker error on Visual Studio in Debug mode when using /Ob1. | ||||
* | bpo-34762: Update PyContext* to PyObject* in asyncio and decimal (GH-9609) | Yury Selivanov | 2018-09-27 | 1 | -3/+3 |
| | | | This fixes various compiler warnings. | ||||
* | Fix some warnings produced by different compilers. (#5593) | Serhiy Storchaka | 2018-02-09 | 1 | -0/+6 |
| | |||||
* | bpo-25988: Emit a warning when use or import ABCs from 'collections'. (#5460) | Serhiy Storchaka | 2018-01-31 | 1 | -1/+5 |
| | |||||
* | bpo-32630: Use contextvars in decimal (GH-5278) | Yury Selivanov | 2018-01-27 | 1 | -89/+31 |
| | |||||
* | bpo-31406: Fix crash due to lack of type checking in subclassing. (#3477) | Stefan Krah | 2017-09-10 | 1 | -5/+14 |
| | |||||
* | bpo-31403: Remove WITHOUT_THREADS from _decimal. (#3474) | Stefan Krah | 2017-09-09 | 2 | -113/+16 |
| | |||||
* | bpo-30923: Disable warning that has been part of -Wextra since gcc-7.0. (#3142) | Stefan Krah | 2017-08-18 | 1 | -0/+6 |
| | |||||
* | bpo-27425: Be more explicit in .gitattributes (GH-840) | Zachary Ware | 2017-06-10 | 1 | -111/+111 |
| | | | Updates checked-in line endings on several files. | ||||
* | Correct typo (#976) | Angus Hollands | 2017-04-03 | 1 | -1/+1 |
| | |||||
* | bpo-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 | 1 | -1/+0 |
| | | | Make also minor PEP8 coding style fixes on modified imports. | ||||
* | Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() | Serhiy Storchaka | 2017-01-22 | 1 | -1/+1 |
| | | | | is now of type "const char *" rather of "char *". | ||||
* | While a speedup of 1% is measurable, contexts aren't created that often, | Stefan Krah | 2017-01-09 | 1 | -4/+4 |
| | | | | so let's defer this until 3.7, 3.8, ... all have this new function. | ||||
* | Merge 3.6. | Stefan Krah | 2017-01-09 | 1 | -7/+7 |
|\ | |||||
| * | Merge 3.5. | Stefan Krah | 2017-01-09 | 1 | -7/+7 |
| |\ | |||||
| | * | Issue #28701: Revert part of 5bdc8e1a50c8 for the following reasons: | Stefan Krah | 2017-01-09 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | - There was no real problem to begin with. - The hypothetical problem has been fixed by 5bdc8e1a50c8. | ||||
* | | | Revert part of dbf72357cb4a that is in a rarely used path and causes | Stefan Krah | 2017-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | maintenance issues (cost/benefit). | ||||
* | | | Revert (unauthorized) parts of 54a89144ee1d which are not in a speed-sensitive | Stefan Krah | 2017-01-07 | 1 | -4/+4 |
| | | | | | | | | | | | | path in order to avoid maintenance issues. | ||||
* | | | Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive | Stefan Krah | 2017-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | path and cause maintenance issues (3.6 <-> 3.7, private test suite). | ||||
* | | | Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ↵ | Serhiy Storchaka | 2016-12-16 | 1 | -1/+1 |
| | | | | | | | | | | | | dict. | ||||
* | | | Don't parenthesis in _PyObject_CallMethodId() format | Victor Stinner | 2016-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Issue #28915: Without parenthesis, _PyObject_CallMethodId() avoids the creation a temporary tuple, and so is more efficient. | ||||
* | | | Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-06 | 1 | -8/+8 |
|/ / | | | | | | | | | | | | | Replace: PyObject_CallObject(callable, NULL) with: _PyObject_CallNoArg(callable) | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -7/+7 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -7/+7 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -4/+8 |
| | | | | | | | | Thanks to Georg Brandl for the patch. | ||||
* | | Fix some warnings from MSVC | Steve Dower | 2016-09-07 | 1 | -4/+0 |
| | | |||||
* | | include (now) int standard headers | Benjamin Peterson | 2016-09-06 | 1 | -6/+2 |
| | | |||||
* | | do not need vcstdint.h anymore | Benjamin Peterson | 2016-09-06 | 1 | -1/+0 |
| | | |||||
* | | Merge 3.5. | Stefan Krah | 2016-07-17 | 1 | -8/+51 |
|\ \ | |/ | |||||
| * | Issue #26974: Fix segfault in the presence of absurd subclassing. Proactively | Stefan Krah | 2016-07-17 | 1 | -3/+47 |
| | | | | | | | | eliminate all internal uses of overridden methods. | ||||
* | | Merge 3.5. | Stefan Krah | 2016-06-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27006: Do not use PyDec_CheckExact() on a type. | Stefan Krah | 2016-06-20 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.5. | Stefan Krah | 2016-06-20 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Issue #27006: from_float(): call the subclass' __new__() and __init__(). | Stefan Krah | 2016-06-20 | 1 | -2/+8 |
| | | |||||
* | | Issue #26846: Post commit cleanup. | Stefan Krah | 2016-04-26 | 1 | -1/+0 |
| | | |||||
* | | Issue #26846: Workaround for non-standard stdlib.h on Android. | Stefan Krah | 2016-04-25 | 5 | -6/+4 |
| | | |||||
* | | Issue #26200: Restored more safe usages of Py_SETREF. | Serhiy Storchaka | 2016-04-11 | 1 | -4/+4 |
|\ \ | |/ | |||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
|\ \ | |/ | |||||
* | | Issue #26621: Update libmpdec version and remove unnecessary test case. | Stefan Krah | 2016-03-23 | 1 | -2/+2 |
| | |