Skip to content

Conversation

@AusIV
Copy link

@AusIV AusIV commented Jun 30, 2014

Jython has an unfortunate issue where the socketaddr object isn't really a tuple, but is instead an item that acts like a tuple under some circumstances. This commit makes httplib2 convert it to an actual tuple, so that it will work as expected.

This solution isn't very nice, but without upstream fixes to Jython, this is the only obvious solution. No hard feelings if you don't want to pull this one, but it would save me some headache in our Jython environments.

Jython has an unfortunate issue where the socketaddr object isn't
really a tuple, but is instead an item that acts like a tuple under
some circumstances. This commit makes httplib2 convert it to an actual
tuple, so that it will work as expected.

This solution isn't very nice, but without upstream fixes to Jython, this
is the only obvious solution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant