]> granicus.if.org Git - python/commit
Per Georg's suggestion, get rid of str.decode() (which always raises an
authorGuido van Rossum <guido@python.org>
Fri, 31 Aug 2007 13:48:41 +0000 (13:48 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 31 Aug 2007 13:48:41 +0000 (13:48 +0000)
commit06b8b027112a491af996d8be25ee79959f8c18dc
treeb9c0836a86b64eba20815eb74f48dcc4cf38443e
parent674e9389e9fdadd622829f4833367ac3b38475b5
Per Georg's suggestion, get rid of str.decode() (which always raises an
exception) and change bytes.find() to use _getbuffer(), so b"".find("")
will raise TypeError instead of SystemError.
Objects/bytesobject.c
Objects/unicodeobject.c