Martin Panter added the comment:
I think these are essentially the same problem. It defeats any custom installed
opener, not just custom HTTPS handlers.
--
nosy: +martin.panter
resolution: -> duplicate
status: open -> closed
superseder: -> urllib.parse.urlopen shouldn't ignore
David Ford (FirefighterBlu3) added the comment:
I've made a patch for 3.4 that addresses this issue. See issue 18543, latest
patch, and test file
--
nosy: +David Ford (FirefighterBlu3)
___
Python tracker rep...@bugs.python.org
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: -demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
___
___
Enrico Tröger added the comment:
I got the same error suddenly with Python 2.7.9.
I think this is quite unfortunate because it somewhat breaks existing
behaviour, especially that SSL certificate verification is enabled by default.
Don't get me wrong, this is the right thing in general and it
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
___
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
___
___
Benjamin Peterson added the comment:
I guess there needs to be some generic way to pass ssl information to handlers.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
Jurijs Vorotilovs added the comment:
Attached a script demonstrating two failing cases
--
Added file: http://bugs.python.org/file37605/test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
New submission from Jurijs Vorotilovs:
Python 2.7.9 has a bug in urllib2.py:urlopen().
It creates HTTPSHandler instances by its own when it should not.
One may have assigned custom openers with subclassed HTTPSHandler or
HTTPSHandler instance with debug enabled or etc.
--
components:
Berker Peksag added the comment:
Thanks for the report. Could you provide an example to reproduce the issue you
described?
--
nosy: +berker.peksag, orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23166
10 matches
Mail list logo