[Python-Dev] string inconsistency (original) (raw)
Tim Peters tim.peters at gmail.com
Thu Jun 1 15:59:30 CEST 2006
- Previous message: [Python-Dev] string inconsistency
- Next message: [Python-Dev] feature request: inspect.isgenerator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Neal]
This is still in Lib/test/stringtests.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.
- Previous message: [Python-Dev] string inconsistency
- Next message: [Python-Dev] feature request: inspect.isgenerator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]