[compat] Clarify the versions requiring compat_kwargs
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 16 Jan 2016 14:17:31 +0000 (22:17 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 16 Jan 2016 14:17:31 +0000 (22:17 +0800)
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

youtube_dl/compat.py

index a3e85264acda8dbefe0883ea50c901302d01d29f..8ab6880011f6084cc1b28d928dec904740c0c6ff 100644 (file)
@@ -433,7 +433,7 @@ if sys.version_info < (3, 0) and sys.platform == 'win32':
 else:
     compat_getpass = getpass.getpass
 
-# Old 2.6 and 2.7 releases require kwargs to be bytes
+# Python < 2.6.5 require kwargs to be bytes
 try:
     def _testfunc(x):
         pass