Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed Py3k warnings in tests for issue #24731. | Serhiy Storchaka | 2015-11-29 | 1 | -7/+10 |
| | |||||
* | Issue #24731: Fixed crash on converting objects with special methods | Serhiy Storchaka | 2015-11-25 | 1 | -0/+15 |
| | | | | | __str__, __trunc__, and __float__ returning instances of subclasses of str, long, and float to subclasses of str, long, and float correspondingly. | ||||
* | Issue #25678: Copy buffer objects to null-terminated strings. | Serhiy Storchaka | 2015-11-20 | 1 | -4/+21 |
| | | | | | | | | Avoid buffer overreads when int(), long(), float(), and compile() are passed buffer objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch backported from issue #24802 by Eryk Sun. | ||||
* | Issue #16761: Raise TypeError when int() or long() called with base argument ↵ | Serhiy Storchaka | 2012-12-28 | 1 | -12/+2 |
| | | | | only. | ||||
* | Issue #16792: Use assertIs() to test identity. | Serhiy Storchaka | 2012-12-27 | 1 | -4/+4 |
| | |||||
* | Issue #16793. Replace deprecated unittest asserts with modern counterparts. | Serhiy Storchaka | 2012-12-27 | 1 | -5/+5 |
| | |||||
* | Issue #16792: Mark small ints test as CPython-only. | Serhiy Storchaka | 2012-12-27 | 1 | -0/+8 |
| | |||||
* | Issue #16790: add some of the recent issue #16045 int tests to test_long. | Chris Jerdonek | 2012-12-27 | 1 | -10/+19 |
| | | | | | This patch also provides a simple way to share tests going forward between test_int and test_long. | ||||
* | Issue #16045: add more unit tests for built-in int() | Andrew Svetlov | 2012-12-23 | 1 | -0/+54 |
| | | | | Patch by Chris Jerdonek. | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Issue #8825: additional testcases for int(string, 0) and long(string, 0). | Mark Dickinson | 2010-05-26 | 1 | -0/+6 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -5/+5 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -6/+6 |
| | |||||
* | Issue #3166: Make long -> float (and int -> float) conversions | Mark Dickinson | 2009-04-20 | 1 | -0/+34 |
| | | | | | | correctly rounded, using round-half-to-even. This ensures that the value of float(n) doesn't depend on whether we're using 15-bit digits or 30-bit digits for Python longs. | ||||
* | Issue #3439: add bit_length method to int and long. | Mark Dickinson | 2008-12-17 | 1 | -0/+35 |
| | | | | | Thanks Fredrik Johansson and Victor Stinner for code, Raymond Hettinger for review. | ||||
* | Moved testing of builtin types out of test_builtin and into type specific ↵ | Benjamin Peterson | 2008-05-03 | 1 | -0/+331 |
modules |