trungn1992 / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Different API between Python 2 and Python 3 version breaks wsgi_intercept #210

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm in the process of porting a big stack of code to Python 3.  One package in 
this stack is wsgi_intercept:

http://pypi.python.org/pypi/wsgi_intercept/0.5.1

This package admittedly uses a non-public API to hook into the scheme class 
selection, but this does work with the Python 2 version of httplib2.  However, 
because the scheme class selection is hard-coded in the Python 3 version of the 
library (they do not use the same code base), wsgi_intercept is broken.

The fix should be fairly simple, i.e. make the code look like it's Python 2 
version.  Attached is a patch.

Original issue reported on code.google.com by war...@gmail.com on 25 May 2012 at 6:56

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 403deb2f51e7.

Original comment by joe.gregorio@gmail.com on 28 Aug 2012 at 4:20