On 18/10/2013 6:57pm, Guido van Rossum wrote:
Thanks! Those are all expected (though contributions are always welcome
-- not looking at you specifically :-).
Does examples/fetch3.py work for you with an https URL? (Try
http://dropbox.com, i.e. without 's' -- you get two redirects to https
URLs. :-)
It fails -- not sure why...
$ python-release examples/fetch3.py http://dropbox.com
redirect to https://dropbox.com/
Traceback (most recent call last):
File "examples/fetch3.py", line 211, in <module>
main()
File "examples/fetch3.py", line 206, in main
body = loop.run_until_complete(fetch(sys.argv[1], '-v' in sys.argv))
File "C:\Repos\cpython-dirty\lib\asyncio\base_events.py", line 172,
in run_until_complete
self.run_forever()
File "C:\Repos\cpython-dirty\lib\asyncio\base_events.py", line 153,
in run_forever
self._run_once()
File "C:\Repos\cpython-dirty\lib\asyncio\base_events.py", line 576,
in _run_once
event_list = self._selector.select(timeout)
File "C:\Repos\cpython-dirty\lib\selectors.py", line 219, in select
r, w, _ = self._select(self._readers, self._writers, [], timeout)
File "C:\Repos\cpython-dirty\lib\selectors.py", line 210, in _select
r, w, x = select.select(r, w, w, timeout)
OSError: [WinError 10038] An operation was attempted on something that
is not a socket
--
Richard
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com