Issue #4 new

soundex breaks deepcopy somehow

Anonymous created an issue

running Soundex on a string changes the original string to uppercase. That's all well and good, but interestingly, it also changes a deep copy of the original string! that seems pretty wrong...



x = "blabla" y = copy.deepcopy(x) sndex = fuzzy.soundex(32) print sndex(x) B4140000000000000000000000000000 print x BLABLA print y BLABLA

running soundex on x changes deep copy y!


Comments (1)

  1. Log in to comment