You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2022. It is now read-only.
The documentation says that the lib opens files in 'w' mode (which is text). I don't see any mention of the encoding, though. Not only is there no explicit default, there isn't even a documented way to choose an encoding. After a long look I finally found a trail showing that one can, in fact, pass the encoding parameter: the passthrough atomic_write(**cls_kwargs) → AtomicWriter(**open_kwargs) (the latter never mentioned).