Mercurial > cpython-lru_cache-weakref
comparison Python/mysnprintf.c @ 46389:7c99cedc3e54
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.
| author | Trent Nelson <trent.nelson@snakebite.org> |
|---|---|
| date | Thu, 10 Apr 2008 16:25:37 +0000 |
| parents | 8af86a952b2c |
| children | 2925b568aacc a8cc8e6f0c1a |
comparison
equal
deleted
inserted
replaced
| 46387:3ce7c796bca1 | 46389:7c99cedc3e54 |
|---|
