Hello,
The recent March 2 python2 packages does not support urlib2 https. Below
are the traces for the 2 different versions.
Is this expected or is there something wrong?
Chris
C:\Users\VM>c:\msys64\mingw64\bin\python.exe
Python 2.7.11 (default, Jan 10 2016, 19:08:02) [GCC 5.3.0 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> r=urllib2.urlopen('https://example.com')
>>> r
<addinfourl at 41110200L whose fp = <socket._fileobject object at
0x00000000022466d0>>
>>>
C:\Users\VM>c:\msys64\mingw64\bin\python.exe
Python 2.7.11 (default, Mar 2 2016, 08:18:36) [GCC 5.3.0 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> r=urllib2.urlopen('https://example.com')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\msys64\mingw64\lib\python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "c:\msys64\mingw64\lib\python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "c:\msys64\mingw64\lib\python2.7/urllib2.py", line 454, in _open
'unknown_open', req)
File "c:\msys64\mingw64\lib\python2.7/urllib2.py", line 409, in
_call_chain
result = func(*args)
File "c:\msys64\mingw64\lib\python2.7/urllib2.py", line 1265, in
unknown_open
raise URLError('unknown url type: %s' % type)
urllib2.URLError: <urlopen error unknown url type: https>
>>>
------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users