summaryrefslogtreecommitdiff
path: root/tests/basics/int_mpz.py
AgeCommit message (Collapse)Author
2017-03-04tests/basic: Split tests into working with small ints and not working.Paul Sokolovsky
Tests which don't work with small ints are suffixed with _intbig.py. Some of these may still work with long long ints and need to be reclassified later.
2016-12-28tests/basics: Add tests for parsing of ints with base 36.Damien George
2016-12-20tests/basics: Improve mpz test coverage.Rami Ali
2015-11-22tests/int_big_*: Add more tests for result normalization.Paul Sokolovsky
Tested by comparability to small int/casting to bool.
2015-09-15py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.Damien George
When creating constant mpz's, the length of the mpz must be exactly how many digits are used (not allocated) otherwise these numbers are not compatible with dynamically allocated numbers. Addresses issue #1448.
2015-04-22tests: Add tests for attrtuple, and for more corner cases.Damien George
2015-03-14tests: Add some more tests for bytes, bignum, string and ujson.Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
Previous to this patch, a big-int, float or imag constant was interned (made into a qstr) and then parsed at runtime to create an object each time it was needed. This is wasteful in RAM and not efficient. Now, these constants are parsed straight away in the parser and turned into objects. This allows constants with large numbers of digits (so addresses issue #1103) and takes us a step closer to #722.
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.