[Python-modules-team] Bug#771349: python-requests: can't import function from requests.packages.urllib3.filepost

Daniele Tricoli eriol at mornie.org
Sun Nov 30 15:26:25 UTC 2014


Hello Félix,
many thanks for your report!

On Friday 28 November 2014 19:10:25 Félix Sipma wrote:
> I've seen that you recently patched several times python-requests to use
> the global python-urllib3. I found a new issue with it (sorry :-)), the
> resulting urllib3 package don't behave the same as the original one:
[CUT traceback]

Thanks, my plan is to run urllib3 testsuite against requests.packages.urllib3 
to understand why some import don’t work.

This works as expected so I have to investigate why the from import version is 
not working:
>>> import requests.packages.urllib3.filepost
>>> requests.packages.urllib3.filepost.iter_field_objects
<function iter_field_objects at 0x7f0c483386e0>

Thanks again for the report!

-- 
 Daniele Tricoli 'Eriol'
 http://mornie.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20141130/0ef0b6ee/attachment.sig>


More information about the Python-modules-team mailing list