commit | 06b8b027112a491af996d8be25ee79959f8c18dc | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Aug 31 13:48:41 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Aug 31 13:48:41 2007 +0000 |
tree | b9c0836a86b64eba20815eb74f48dcc4cf38443e | |
parent | 674e9389e9fdadd622829f4833367ac3b38475b5 [diff] |
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.