urlopen, six, and py2

Chris Angelico rosuav at gmail.com
Wed Mar 2 11:17:16 EST 2016


On Thu, Mar 3, 2016 at 2:36 AM, Fabien <fabien.maussion at 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



More information about the Python-list mailing list