Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think things like these should be explicit. Even it is convenient to have a default, it should be what most people would expect.

For example, instead of .lower(), we can have .lower_ascii(), .lower_turkish() or .lower(locale) . But I know it would be tedious to use if you need to specify it everytime, so it makes sense to have a .lower(locale=DEFAULT_LOWER_LOCALE) . As for what should DEFAULT_LOWER_LOCALE be, it is worth debating, but I think it shouldn't introduce unexpected behavior.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: