Ok, I added the above test with circular references, I raise a RuntimeError in this case (could not think of a better exception).
Moreover I now do a mapping.copy() and use parantheses for wrapping long lines.
What I still think of is if this recursive translation should also be included in the
__init__.translate() function and also in the SimpleTranslationdomain.translate() function.
Ok, I added the above test with circular references, I raise a RuntimeError in this case (could not think of a better exception).
Moreover I now do a mapping.copy() and use parantheses for wrapping long lines.
What I still think of is if this recursive translation should also be included in the _.translate( ) function and also in the SimpleTranslati ondomain. translate( ) function.
__init_
What do you think?