Commit Graph

15 Commits (e65566a9cc13d13bef3dc70eebfc9bda2e302b78)

Author SHA1 Message Date
Philipp Hagemeister c6973bd412 [compat] Simplify kwarg detection code
This enables nuitka to compile youtube-dl.
10 years ago
Philipp Hagemeister e2f89ec7aa Revert "[utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392)"
This reverts commit 16040f46d6.
10 years ago
Philipp Hagemeister 16040f46d6 [utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392) 10 years ago
Jaime Marquínez Ferrándiz 83e865a370 Fix PEP8 issue E713 10 years ago
Philipp Hagemeister b061ea6e9f [compat] Beautify assertion 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister 7d4111ed14 Provide guidance when called with a YouTube ID starting with a dash.
Reported at https://news.ycombinator.com/item?id=8648121
10 years ago
Philipp Hagemeister b244b5c3f9 remove unused imports 10 years ago
Philipp Hagemeister 07e378fa18 [compat] correct OptionGroup invocation for Python 3 (fixes #4243) 10 years ago
Philipp Hagemeister e07e931375 Work around 2.7.0 deficencies (Fixes #4223) 10 years ago
Philipp Hagemeister c7b0add86f [compat] Work around kwargs bugs in old 2.6 Python releases (Fixes #3813) 10 years ago
Philipp Hagemeister 451948b28c [compat] Modernize 10 years ago
Philipp Hagemeister baa708036c [compat] Fix imports 10 years ago
Philipp Hagemeister 8c25f81bee [util] Move compatibility functions out of util
utils is large enough without these compatibility functions.

Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
10 years ago