Remove path hacks that break chardet in Python 3. Closes #858.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This replaces the sys.path hack with a slightly less objectionable sys.modules hack. Both have the effect of making the vendored lib's absolue imports work as expected when oauthlib isn't installed. The sys.modules hack doesn't insert the rest of the vendored crap in a global path, however.
authored by Gabriel · committed by Gabriel · parent 4477d0a · Browse files · 1 file+2 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−3 removed
- other:+2 added−3 removed