Zachary Ware
4c9c848159
Issue #17202 : Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks. Who knows why.
11 years ago
Serhiy Storchaka
a60c2fe480
Issue #23641 : Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
11 years ago
Serhiy Storchaka
7f470d0f9c
Issue #19936 : Remove executable bits from C source files and several forgotten
test files.
12 years ago
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
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.
12 years ago
Stefan Krah
16540408f4
Issue #19936 : Disable shebang lines in order to prevent using a random
system python.
12 years ago
Stefan Krah
04754b0fd4
Support multiarch build in tests.
13 years ago
Stefan Krah
6edda14b29
Issue #17768 : Support newline fill character in decimal.py and NUL fill
character in _decimal.c.
13 years ago
Stefan Krah
59a4a93f43
Issue #16422 : Use strings for rounding mode constants for better readability
and pickling compatibility.
13 years ago
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.
13 years ago
Stefan Krah
9a3f05e60f
Make it clear that the pi function is modified for benchmarking purposes.
14 years ago
Stefan Krah
6b6a1df996
Restore the benchmark order to avoid waiting for decimal.py if just the
prec=9 test is used.
14 years ago
Brett Cannon
6cf50c5b1d
Fix whitespace.
14 years ago
Brett Cannon
63092fe0ea
Fix whitespace.
14 years ago
Brett Cannon
d266c4451f
Make the decimal bench file run under Python 2.7.
14 years ago
Stefan Krah
17183a2972
Use zero bottom margin.
14 years ago
Stefan Krah
ad5b43995e
In the 32-bit build, dec_hash() raised InvalidOperation if the operand
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!).
14 years ago
Stefan Krah
1edab78859
Update test script to Visual Studio 2010.
14 years ago
Stefan Krah
39e810eb6c
Make the benchmark more fair for _decimal/decimal.py by setting context.prec
only once (float obviously doesn't set any context at all).
14 years ago
Stefan Krah
0774e9b9f5
Raise InvalidOperation if exponents of zeros are clamped during exact
conversion in the Decimal constructor. Exact here refers to the
representation and not to the value (clamping does not change the value).
14 years ago
Stefan Krah
41e031004b
Fix Overflow exception in the bignum factorial benchmark that is due to
the recent change of the default value for context.Emax.
14 years ago
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.
14 years ago