Georg Brandl <ge...@python.org> added the comment: I'd say keep the AttributeError too. This is not different from many other functions that fail variously with random types fed into them.
---------- nosy: +georg.brandl status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9432> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com