Adam Johnson
Adam Johnson
Yeah, good idea. I didn’t do it at first out of laziness. I just made the change and it wasn’t that hard!
A few days ago, I received an email notification in Russian, the language of my collaborator, rather than my preferred language, English: I got the gist from the non-translated subject...
The `TypeError` comes from PyO3. It’s not clear to me from [the PyO3 arg docs](https://pyo3.rs/v0.20.0/conversions/tables) if there’s an easy way to allow all kinds of mappings or sets and have...
Also, Python already has `html.escape()`. It would be good to note how nh3/ammonia differs.
Ammonia only works on an allow-list basis, so to allow particular tags you’ll need to list them.
And thanks for the template! đź‘Ť
You can make importing the old package replace itself in sys.modules with the new one. But it's likely not worth the effort since it makes debugging harder.