View Single Post
Old 12-16-2018, 10:22 PM   #410
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by NiLuJe View Post
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!).
Interesting. Curious, was this a recent change? Because I'm still using the Nov 22 snapshots. Lol, I'm lazy so I don't update my add-ons unless I'm experiencing an issue.
ilovejedd is offline   Reply With Quote