Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-08 | [update] Fix updating via symlinks (closes #23991) | Sergey M․ | |
2020-02-08 | [compat] Introduce compat_realpath (refs #23991) | Sergey M․ | |
2019-05-11 | Fix W504 and disable W503 (closes #20863) | Sergey M․ | |
2019-03-11 | Start moving to ytdl-org | Sergey M․ | |
2019-03-06 | [compat] Introduce compat_etree_Element | Sergey M․ | |
2018-06-18 | [compat] Introduce compat_integer_types | Sergey M․ | |
2018-02-02 | [compat] Mute some F821 under python 3 | Sergey M․ | |
2018-01-28 | Add support for IronPython | Sergey M․ | |
2018-01-23 | [compat] Add compat_b64decode | Sergey M․ | |
2018-01-01 | [utils] Fix youtube-dl under PyPy3 on Windows | Philipp Hagemeister | |
2017-09-23 | [mixcloud] Fix extraction (closes #14088) | Tatsuyuki Ishi | |
2017-06-17 | [compat] Fix compat_shlex_quote on Windows (closes #5889, closes #10254) | Sergey M․ | |
2017-06-12 | [compat] Add compat_HTMLParseError to __all__ | Sergey M․ | |
2017-06-12 | [compat] Introduce compat_HTMLParseError | Sergey M․ | |
2017-04-12 | improve coding style | Remita Amine | |
2017-02-25 | [compat] Use try except for compat_numeric_types | Sergey M․ | |
2017-02-23 | [compat] Add compat_numeric_types | Sergey M․ | |
2017-02-01 | [compat] add compat_etree_register_namespace to __all__ list | Remita Amine | |
2017-01-29 | [compat] add compat_etree_register_namespace | Remita Amine | |
2017-01-06 | Fix "invalid escape sequences" error on Python 3.6 | Yen Chi Hsuan | |
2016-11-17 | Update coding style after pycodestyle 2.1.0 | Yen Chi Hsuan | |
In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches | |||
2016-07-07 | [compat] Fix test_cmdline_umlauts on Python 2.6 | Yen Chi Hsuan | |
The original statement raises uncaught UnicodeWarning on Python 2.6 | |||
2016-07-07 | [compat] Fix compat_shlex_split for non-ASCII input | Yen Chi Hsuan | |
Closes #9871 | |||
2016-06-10 | [compat] Import html5 entities correctly | Yen Chi Hsuan | |
2016-06-10 | [compat] Add compat_html_entities_html5 | Yen Chi Hsuan | |
Used in tset_Vporn_1. Also Related to #9270 | |||
2016-06-05 | [compat] Add 'compat_input' to __all__ | Jaime Marquínez Ferrándiz | |
2016-06-05 | [compat] Add compat_input | Sergey M․ | |
2016-05-23 | [compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2 | Yen Chi Hsuan | |
Such XML documents cause DeprecationWarning if python is run with `-W error` | |||
2016-05-10 | [compat] Rename shlex_quote and remove unused subprocess_check_output | Yen Chi Hsuan | |
2016-05-10 | [compat] Rename struct_(un)pack to compat_struct_(un)pack | Yen Chi Hsuan | |
2016-05-10 | [utils,compat] Move struct_pack and struct_unpack to compat.py | Yen Chi Hsuan | |
2016-05-09 | [compat] Add compat_setenv | Sergey M․ | |
2016-04-06 | [compat] Handle tuples properly in urlencode() | Yen Chi Hsuan | |
Fixes #9055 | |||
2016-03-26 | [compat] Add compat_urllib_parse_urlencode and eliminate encode_dict | Sergey M․ | |
encode_dict functionality has been improved and moved directly into compat_urllib_parse_urlencode All occurrences of compat_urllib_parse.urlencode throughout the codebase have been replaced by compat_urllib_parse_urlencode Closes #8974 | |||
2016-03-18 | [compat] Add compat_xpath | Sergey M․ | |
2016-03-16 | Merge pull request #8092 from bpfoley/twitter-thumbnail | remitamine | |
[utils] Add extract_attributes for extracting html tag attributes | |||
2016-03-03 | [jython] Introduce compat_os_name | Yen Chi Hsuan | |
os.name is always 'java' on Jython | |||
2016-03-03 | [utils] Add extract_attributes for extracting html tag attributes | Brian Foley | |
This is much more robust than just using regexps, and handles all the common scenarios, such as empty/no values, repeated attributes, entity decoding, mixed case names, and the different possible value quoting schemes. | |||
2016-02-14 | [refactor] Single quotes consistency | Sergey M․ | |
2016-01-16 | [compat] Clarify the versions requiring compat_kwargs | Yen Chi Hsuan | |
It's supported since 2.7.0 alpha 1 and 2.6.5 rc 1. See https://hg.python.org/cpython/file/v2.7a1/Misc/NEWS#l337 https://hg.python.org/cpython/file/v2.6.5rc1/Misc/NEWS#l28 | |||
2015-11-23 | Rename compat_urllib_request_Request to sanitized_Request and move to utils | Sergey M․ | |
2015-11-23 | [compat] Add compat_urllib_request_Request | Sergey M․ | |
This is actually not a compatibility routine but rather a workaround for URLs without protocol specified. The protocol-less URL is treated as HTTP one since it's most probable scenario and it will most likely to redirect to HTTPS if HTTPS was actually expected. This routine could also be useful for any Request preprocessing that may be added in future. | |||
2015-10-29 | [compat] compat_etree_fromstring: clarify comment | Jaime Marquínez Ferrándiz | |
2015-10-26 | [compat] compat_etree_fromstring: also decode the text attribute | Jaime Marquínez Ferrándiz | |
Deletes parse_xml from utils, because it also does it. | |||
2015-10-25 | [compat] compat_etree_fromstring: only decode bytes objects | Jaime Marquínez Ferrándiz | |
2015-10-25 | Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (#7178) | Jaime Marquínez Ferrándiz | |
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes). | |||
2015-10-18 | [compat] Add compat_urllib_request_DataHandler | Yen Chi Hsuan | |
2015-10-06 | [compat] Fix wrong lines/columns order | Sergey M․ | |
stty size is rows x columns | |||
2015-10-06 | [compat] Do not compare None <= 0 | Philipp Hagemeister | |
The result is meaningless (and it emits a warning in cpython2 when called with -3), so handle None before making integer comparisons. | |||
2015-10-03 | [compat] Allow overriding by only COLUMNS or LINES in compat_get_terminal_size | Yen Chi Hsuan | |
Now the semantic of this function is identical to shutil.get_terminal_size() in Python 3.3+. The new behavior also corresponds to the old get_term_width(), which is removed in 003c69a84b68cadb46aeb8e03115848a722fd675 |