A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-June/065516.html below:

[Python-Dev] string inconsistency

[Python-Dev] string inconsistencyTim Peters tim.peters at gmail.com
Thu Jun 1 15:59:30 CEST 2006
[Neal]
> This is still in Lib/test/string_tests.py:
>
>         #EQ("A", "", "replace", "", "A")
>         # That was the correct result; this is the result we actually get
>         # now (for str, but not for unicode):
>         #EQ("", "", "replace", "", "A")
>
> Is this going to be fixed?

Done.  I had to comment out that new test during the NFS sprint
because the str and unicode implementations gave different results (a
pre-existing bug discovered during the sprint).  str.replace() was
repaired later during the sprint, but the new test remained commented
out.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4