birknilson/python-paypal-sdk — pull request #4 by martinmelin (2014-04-25 07:55:43+00:00)
Title: Return 2-element tuple from execute_request, even on errors

Returning None on urllib exceptions meant callers throwing a TypeError due to expecting a two-element tuple of the (response, code) format.

Instead of changing callers, let's just be consistent in returning the same number of elements. Callers are still expected to check if response is None.