]> jfr.im git - yt-dlp.git/commit
[cleanup] Remove unused code paths (#2173)
authorfelix <redacted>
Thu, 30 Dec 2021 12:23:36 +0000 (13:23 +0100)
committerpukkandan <redacted>
Tue, 12 Apr 2022 00:02:50 +0000 (05:32 +0530)
commitcfb0511d822b39748c5a64dfe86b61ff8d5af176
tree3988b2fd19f0b1bdf5e946381a1e96d86b39a2c0
parentab96d1ad1bcdb943aa6519980e5383ca91f7da2b
[cleanup] Remove unused code paths (#2173)

Notes:

* `_windows_write_string`: Fixed in 3.6
  * https://bugs.python.org/issue1602
  * PEP: https://www.python.org/dev/peps/pep-0528

* Windows UTF-8 fix: Fixed in 3.3
  * https://bugs.python.org/issue13216

* `__loader__`: is always present in 3.3+
  * https://bugs.python.org/issue14646

* `workaround_optparse_bug9161`: Fixed in 2.7
  * https://bugs.python.org/issue9161

Authored by: fstirlitz
14 files changed:
test/helper.py
test/test_execution.py
test/test_http.py
test/test_utils.py
yt_dlp/YoutubeDL.py
yt_dlp/__init__.py
yt_dlp/__main__.py
yt_dlp/compat.py
yt_dlp/extractor/bpb.py
yt_dlp/extractor/common.py
yt_dlp/extractor/commonmistakes.py
yt_dlp/extractor/generic.py
yt_dlp/update.py
yt_dlp/utils.py