Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39794: Add --without-decimal-contextvar (#18702) | Stefan Krah | 2020-02-29 | 1 | -2/+6 |
| | |||||
* | bpo-36793: Remove unneeded __str__ definitions. (GH-13081) | Serhiy Storchaka | 2019-05-06 | 1 | -2/+0 |
| | | | | Classes that define __str__ the same as __repr__ can just inherit it from object. | ||||
* | bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵ | Serhiy Storchaka | 2018-11-05 | 1 | -1/+1 |
| | | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings. | ||||
* | bpo-32630: Use contextvars in decimal (GH-5278) | Yury Selivanov | 2018-01-27 | 1 | -11/+9 |
| | |||||
* | Trivial cleanups following bpo-31370 (#3649) | Antoine Pitrou | 2017-09-18 | 1 | -4/+1 |
| | | | | | | * Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -64/+23 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-29776: Use decorator syntax for properties. (#585) | Serhiy Storchaka | 2017-03-19 | 1 | -2/+2 |
| | |||||
* | Fixed #29534 - _decimal difference with _pydecimal (#65) | Andrew Nester | 2017-02-14 | 1 | -11/+16 |
| | |||||
* | Issue #27348: Merge exception formatting fix from 3.5 into 3.6 | Martin Panter | 2016-09-22 | 1 | -1/+1 |
|\ | |||||
| * | Issue #27348: Restore “Exception: None” formatting in traceback module | Martin Panter | 2016-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression caused by revision 73afda5a4e4c. Also reverts the decimal test workaround added in revision 5f3dd0a2b1ab. Remove test_without_exception(). According to revision ecaafc32c500, this was added in Python 2 so that print_exc() would output “None” when called with no exception set. However print_exc() never worked like this in Python 3, and the use case is not documented. Restore TracebackCases class name (instead of SyntaxTracebackCases), because the class also tests other exceptions. | ||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -5/+5 |
| | | | | | | | | Thanks to Georg Brandl for the patch. | ||||
* | | merge | Raymond Hettinger | 2016-08-13 | 1 | -6/+25 |
|\ \ | |/ | |||||
| * | Issue #27720: Fix error in eng_to_decimal docs and add examples from the ↵ | Raymond Hettinger | 2016-08-13 | 1 | -6/+25 |
| | | | | | | | | | | | | specification. (Based on a first draft patch from Evelyn Mitchell.) | ||||
* | | Issue #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | messages. | ||||
| * | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #26621: Update libmpdec version and remove unnecessary test case. | Stefan Krah | 2016-03-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #25971: Optimized creating Fractions from floats by 2 times and from | Serhiy Storchaka | 2015-12-29 | 1 | -4/+2 |
| | | | | | | | | | | | | Decimals by 3 times. Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(), and Fraction constructors. | ||||
* | | Issue #25928: Add Decimal.as_integer_ratio(). Python parts and docs by | Stefan Krah | 2015-12-28 | 1 | -0/+52 |
|/ | | | | Mark Dickinson. | ||||
* | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -6/+5 |
| | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | ||||
* | Remaining fallout from 17911 | Robert Collins | 2015-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | The code module was using a private function from traceback in order to skip a frame - used the direct interface to do that instead, The decimal module suffered minor fallout from formatting changes ('None' as a value is now not printed by traceback, the same as None was not before). The cgitb module was passing a bogus exception type (type.__name__) into format_exception, which uncovered that format_exception and print_exception had been ignoring the etype for some time, so the compatibility thunk to the new code now does the same thing. | ||||
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -9/+0 |
| | | | | implementation in issue #21408 they are redundant. | ||||
* | Issue #19232: Fix sys.modules lookup (--without-threads) | Stefan Krah | 2014-10-12 | 1 | -1/+2 |
| | |||||
* | Issue #19232: Speed up decimal import. Additionally, since _decimal is | Stefan Krah | 2014-09-10 | 1 | -0/+6389 |
self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation. |