STINNER Victor added the comment: str.replace("", whatever) doesn't make sense. Why not raising an exception in this case? ---------- nosy: +haypo _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28029> _______________________________________