Files
requests3/requests/packages
Ian Cordasco 6ea3f2ada8 Only alias the imports for vendored dependencies
While discussion the issue, Donald Stufft (@dstufft) and I realized the
simplest solution is to simply add an alias per vendored dependency. The
resulting changes are simple and effective. It prevents the issue in
2.5.2 and 2.5.3 where the following would work:

    from requests.packages import webbrowser

This now appropriately raises an ImportError.

Closes #2465
2015-02-28 20:13:46 -06:00
..
2014-12-01 14:40:32 -05:00

If you are planning to submit a pull request to requests with any changes in 
this library do not go any further. These are independent libraries which we 
vendor into requests. Any changes necessary to these libraries must be made in 
them and submitted as separate pull requests to those libraries.

urllib3 pull requests go here: https://github.com/shazow/urllib3

chardet pull requests go here: https://github.com/chardet/chardet