[compat] Add and use `compat_open()` like Py3 `open()`
authordirkf <fieldhouse@gmx.net>
Wed, 5 Apr 2023 17:39:54 +0000 (18:39 +0100)
committerdirkf <fieldhouse@gmx.net>
Wed, 5 Apr 2023 17:57:37 +0000 (18:57 +0100)
commit78da22489b483988e198a8352893df9c6cf34032
tree9711bb65e3b6f960ce077ba77c00cb5d914be372
parent557dbac173c30a51acd284b46f2d5460e539f51a
[compat] Add and use `compat_open()` like Py3 `open()`

* resolves FIXME: ytdl-org/youtube-dl/commit/dfe5fa4
youtube_dl/compat.py
youtube_dl/options.py