View Single Post
Old 12-16-2018, 01:22 PM   #407
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Okay, confirmed, and tracked down to a bad interaction between Python 2, and the current unreleased requests/urllib3 versions I'm using.

Next snapshots will be fixed, but they won't come until I'm done with other things, so, in the meantime:

In /mnt/us/python/lib/python2.7/site-packages/requests/models.py around L392 (basically just above the offending unicode_is_ascii call), insert:

Code:
        if is_py2:
            host = unicode(host)
Honoring the whitespace *exactly* (this is Python, indent > everything, as it should!).
NiLuJe is offline   Reply With Quote