commit | e2ae4684a5617ec5bc8d48e09af2dd7a24711f23 | [log] [tgz] |
---|---|---|
author | Trent Nelson <trent.nelson@snakebite.org> | Thu Apr 10 16:25:37 2008 +0000 |
committer | Trent Nelson <trent.nelson@snakebite.org> | Thu Apr 10 16:25:37 2008 +0000 |
tree | 4b065c8f03e00df65181af57df668136d3d8f0ed | |
parent | 5680d0c5e3a9d42b6c21f4a31a7dbfe72c9e5170 [diff] |
Issue 2440: fix the handling of %n in Python/getargs.c's convertsimple(), extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that have nb_int slots, and update test_getargs2 to test that an exception is thrown when __int__() returns a non-int object.