]> granicus.if.org Git - python/commit
Fix the problem of not raising a TypeError exception when doing:
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 28 Jul 2002 16:44:23 +0000 (16:44 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 28 Jul 2002 16:44:23 +0000 (16:44 +0000)
commit88fe4ff5a962dfd2e1889c5d5c1a04c00b8264ba
tree05d2e9b3c79646242af9f55ec93fb31d81ae7d17
parent673c0a2247e6c1bacdd87df1bc82e8b042933f4b
Fix the problem of not raising a TypeError exception when doing:
    '%g' % '1'
    '%d' % '1'

Add a test for these conditions
Fix the test so that if not exception is raise, this is a failure
Lib/test/test_format.py
Objects/stringobject.c