Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert mode change that loses information in directory listings on Linux. ↵ | Stefan Krah | 2019-08-21 | 1 | -0/+0 |
| | | | | (#15366) | ||||
* | Unmark files as executable that can't actually be executed. (GH-15353) | Greg Price | 2019-08-21 | 1 | -0/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are plenty of legitimate scripts in the tree that begin with a `#!`, but also a few that seem to be marked executable by mistake. Found them with this command -- it gets executable files known to Git, filters to the ones that don't start with a `#!`, and then unmarks them as executable: $ git ls-files --stage \ | perl -lane 'print $F[3] if (!/^100644/)' \ | while read f; do head -c2 "$f" | grep -qxF '#!' \ || chmod a-x "$f"; \ done Looking at the list by hand confirms that we didn't sweep up any files that should have the executable bit after all. In particular * The `.psd` files are images from Photoshop. * The `.bat` files sure look like things that can be run. But we have lots of other `.bat` files, and they don't have this bit set, so it must not be needed for them. Automerge-Triggered-By: @benjaminp | ||||
* | bpo-31403: Remove WITHOUT_THREADS from _decimal. (#3474) | Stefan Krah | 2017-09-09 | 1 | -19/+15 |
| | |||||
* | 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. | ||||
* | 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 #25928: Add Decimal.as_integer_ratio(). Python parts and docs by | Stefan Krah | 2015-12-28 | 1 | -3/+3 |
| | | | | Mark Dickinson. | ||||
* | Closes #17202: Merge with 3.4 | Zachary Ware | 2015-04-13 | 1 | -111/+111 |
|\ | |||||
| * | Issue #17202: Add .bat to .hgeol to force them to CRLF. | Zachary Ware | 2015-04-13 | 1 | -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 Storchaka | 2015-03-12 | 1 | -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 Storchaka | 2015-03-12 | 1 | -1/+1 |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | | Issue #19232: Speed up decimal import. Additionally, since _decimal is | Stefan Krah | 2014-09-10 | 1 | -3/+4 |
|/ | | | | | self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation. | ||||
* | Issue #19936: Remove executable bits from C source files and several forgotten | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | test files. | ||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 2 | -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 random | Stefan Krah | 2014-01-16 | 3 | -6/+0 |
| | | | | system python. | ||||
* | Support multiarch build in tests. | Stefan Krah | 2013-05-29 | 1 | -7/+8 |
| | |||||
* | Issue #17768: Support newline fill character in decimal.py and NUL fill | Stefan Krah | 2013-05-29 | 2 | -6/+4 |
| | | | | character in _decimal.c. | ||||
* | Issue #16422: Use strings for rounding mode constants for better readability | Stefan Krah | 2013-01-16 | 1 | -22/+14 |
| | | | | and pickling compatibility. | ||||
* | Issue #15783: Except for the number methods, the C version of decimal now | Stefan Krah | 2012-12-15 | 2 | -0/+52 |
| | | | | | supports all None default values present in decimal.py. These values were largely undocumented. | ||||
* | Make it clear that the pi function is modified for benchmarking purposes. | Stefan Krah | 2012-09-30 | 1 | -2/+7 |
| | |||||
* | Restore the benchmark order to avoid waiting for decimal.py if just the | Stefan Krah | 2012-09-25 | 1 | -3/+4 |
| | | | | prec=9 test is used. | ||||
* | Fix whitespace. | Brett Cannon | 2012-09-25 | 1 | -1/+1 |
| | |||||
* | Fix whitespace. | Brett Cannon | 2012-09-25 | 1 | -18/+18 |
| | |||||
* | Make the decimal bench file run under Python 2.7. | Brett Cannon | 2012-09-25 | 1 | -18/+28 |
| | |||||
* | Use zero bottom margin. | Stefan Krah | 2012-08-22 | 1 | -3/+0 |
| | |||||
* | In the 32-bit build, dec_hash() raised InvalidOperation if the operand | Stefan Krah | 2012-08-22 | 1 | -0/+45 |
| | | | | | | had a coefficient with MAX_PREC=425000000 digits and a negative exponent. Increasing the context limits above the official values fixes the issue and is safe (in this case!). | ||||
* | Update test script to Visual Studio 2010. | Stefan Krah | 2012-06-25 | 2 | -42/+32 |
| | |||||
* | Make the benchmark more fair for _decimal/decimal.py by setting context.prec | Stefan Krah | 2012-06-24 | 1 | -6/+6 |
| | | | | only once (float obviously doesn't set any context at all). | ||||
* | Raise InvalidOperation if exponents of zeros are clamped during exact | Stefan Krah | 2012-04-05 | 1 | -0/+1 |
| | | | | | conversion in the Decimal constructor. Exact here refers to the representation and not to the value (clamping does not change the value). | ||||
* | Fix Overflow exception in the bignum factorial benchmark that is due to | Stefan Krah | 2012-04-01 | 1 | -1/+4 |
| | | | | the recent change of the default value for context.Emax. | ||||
* | Issue #7652: Integrate the decimal floating point libmpdec library to speed | Stefan Krah | 2012-03-21 | 8 | -0/+2654 |
up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application. |