Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103880

Re: urlopen, six, and py2

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: urlopen, six, and py2
Date 2016-03-03 03:17 +1100
Message-ID <mailman.106.1456935439.20602.python-list@python.org> (permalink)
References <nb6rvp$cub$1@gioia.aioe.org> <mailman.103.1456929746.20602.python-list@python.org> <nb71aj$nm9$1@gioia.aioe.org>

Show all headers | View raw


On Thu, Mar 3, 2016 at 2:36 AM, Fabien <fabien.maussion@gmail.com> wrote:
> On 03/02/2016 03:35 PM, Matt Wheeler wrote:
>>
>> I agree that six should probably handle this,
>
>
> Thank you Matt and Chris for your answers. Do you think I should open an
> issue on six? It sounds unlikely that I am the first one having this
> problem...
>
> (until this difference with urlopen I have found six to be extremely good at
> helping not caring about python versions at all)

What happens if you use 'requests' rather than urlopen? My guess is
that requests will already have dealt with this.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

urlopen, six, and py2 Fabien <fabien.maussion@gmail.com> - 2016-03-02 15:05 +0100
  Re: urlopen, six, and py2 Matt Wheeler <m@funkyhat.org> - 2016-03-02 14:35 +0000
    Re: urlopen, six, and py2 Fabien <fabien.maussion@gmail.com> - 2016-03-02 16:36 +0100
      Re: urlopen, six, and py2 Chris Angelico <rosuav@gmail.com> - 2016-03-03 03:17 +1100
  Re: urlopen, six, and py2 Chris Angelico <rosuav@gmail.com> - 2016-03-03 01:53 +1100

csiph-web