On 24 October 2016 at 18:39, Mikhail V email@example.com wrote:
I would be happy to see a somewhat more general and user friendly version of string.translate function. It could work this way: string.newtranslate(file_with_table, Drop=True, Dec=True)
Using a text file seems very odd. But regardless, this could *easily* be published on PyPI, and then if it gained enough users be proposed for the stdlib. I don't think there's anything like sufficient value to warrant "fast-tracking" something like this direct to the stdlib. And real-world use via PyPI would very quickly establish whether the unusual "pass a file with a translation table in it" design was acceptable to users.