Marc-Andre Lemburg <m...@egenix.com> added the comment:

It looks like Brian is expecting some kind of normalization of the strings 
before they enter the function, e.g. convert to lowercase, remove extra 
whitespace, convert diacritics to regular letters, combinations of such 
normalizations, etc.

Since both "word" and "possibilities" would have to be normalized, I think it's 
better to let the application deal with this efficiently than try to come up 
with a new function or add a normalize keyword function parameter.

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39891>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to