[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-18 Thread STINNER Victor
STINNER Victor added the comment: Thank you Berker! I'm quite sure that the issue is very old, like 1 year old or more. And this fix is welcomed! -- ___ Python tracker

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-18 Thread Berker Peksag
Berker Peksag added the comment: test_robotparser is now green. I've opened issue 28195 for test_huntrleaks_fd_leak. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83bca958adc9 by Berker Peksag in branch '3.6': Issue #28151: Use pythontest.net in test_robotparser https://hg.python.org/cpython/rev/83bca958adc9 New changeset 4bfd91a45c81 by Berker Peksag in branch 'default': Issue #28151: Merge from 3.6

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-16 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch that uses pythontest.net. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file44695/issue28151.diff ___ Python tracker

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-14 Thread Berker Peksag
Berker Peksag added the comment: Note that I'm planning to rewrite the test to use pythontest.net. -- nosy: +berker.peksag stage: -> needs patch type: -> enhancement versions: +Python 3.6 ___ Python tracker

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-14 Thread STINNER Victor
New submission from STINNER Victor: The "x86 Windows7 3.x" buildbot fails to validate python.org HTTPS certificate. The unit test uses the clear text HTTP URL, but http://www.python.org/robots.txt returns "301 Moved Permanently" with the new link: https://www.python.org/robots.txt Firefox

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +buildbot nosy: +zach.ware ___ Python tracker ___

[issue28151] testPythonOrg() of test_robotparser fails on validating python.org HTTPS certificate

2016-09-14 Thread STINNER Victor
STINNER Victor added the comment: A workaround is to catch the ssl.SSLError and skip the unit test... Another fix is to avoid completely network connection to the Internet and only uses the temporary HTTP server used by other unit tests. -- ___