kennethreitz/requests — Issue #208: Syntax Error in requests/async.py in Python 2.5
Author: stoey
Created: 2011-10-17 17:26:14+00:00
State: open

Function calls like `func(*args, arg=val, **kwargs)` raise a SyntaxError in Python 2.5 (tested in both 2.5.2 and 2.5.6)

I have a patch for the issue here:
https://github.com/stoey/requests/commit/84e89429f0414fe0d6b9497b16833bc6bee48957

Let me know if you would prefer a pull request of that commit.

The rest of my changes are working around a bug in the urllib2 in Python 2.5.2 that was fixed in 2.5.4 so are not very useful to anyone else.

Cheers,
Dan