<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/packages/__init__.py, branch pytest-httpbin</title>
<subtitle>github.com: kennethreitz/requests.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/'/>
<entry>
<title>Add information about the package stub</title>
<updated>2015-04-24T13:29:19+00:00</updated>
<author>
<name>Markus Unterwaditzer</name>
<email>markus@unterwaditzer.net</email>
</author>
<published>2015-04-24T13:29:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=93216afbaf09290aa1cadb2f5811f18f4c48f983'/>
<id>93216afbaf09290aa1cadb2f5811f18f4c48f983</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Import aliases for Debian</title>
<updated>2015-04-24T10:05:19+00:00</updated>
<author>
<name>Markus Unterwaditzer</name>
<email>markus@unterwaditzer.net</email>
</author>
<published>2015-04-24T10:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=b7fc3a1250cb13ed3b55010ccc33f2681f0ffa4a'/>
<id>b7fc3a1250cb13ed3b55010ccc33f2681f0ffa4a</id>
<content type='text'>
Alternative to #2375
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Alternative to #2375
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove VendorAlias meta_path hook</title>
<updated>2015-04-22T21:26:14+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>sigmavirus24@users.noreply.github.com</email>
</author>
<published>2015-04-22T21:26:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=3e3fc7683cab2d401981fdf01ae8cdc40c8d6222'/>
<id>3e3fc7683cab2d401981fdf01ae8cdc40c8d6222</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Place VendorAlias first in meta_path</title>
<updated>2015-04-06T01:48:36+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-04-06T01:48:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=1b5bfe681b4c0a987e97ae78b2034db7b7ce3d01'/>
<id>1b5bfe681b4c0a987e97ae78b2034db7b7ce3d01</id>
<content type='text'>
When other libraries or tools add items to the meta_path, we need to preempt
some of their import hooks to be sure modules can be properly found. This also
prevents problems importing built-in modules on Python 2 where it will first
attempt to import something like:

    requests.packages.chardet.sys

By placing our VendorAlias first, the above will fail and then it will fall
back to trying to import sys directly instead.

Closes #2465
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When other libraries or tools add items to the meta_path, we need to preempt
some of their import hooks to be sure modules can be properly found. This also
prevents problems importing built-in modules on Python 2 where it will first
attempt to import something like:

    requests.packages.chardet.sys

By placing our VendorAlias first, the above will fail and then it will fall
back to trying to import sys directly instead.

Closes #2465
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix when packages are unvendored</title>
<updated>2015-03-01T05:04:24+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-03-01T05:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=2669f0c0b1e98c9ea36d2614d48b07ad150ea276'/>
<id>2669f0c0b1e98c9ea36d2614d48b07ad150ea276</id>
<content type='text'>
When working these changes back upstream to pip, we realized that the
previous fix wasn't ideal since unvendoring the packages broke the
imports. For example, if urllib3 were unvendored, then the following
would fail:

    from requests.packages import urllib3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When working these changes back upstream to pip, we realized that the
previous fix wasn't ideal since unvendoring the packages broke the
imports. For example, if urllib3 were unvendored, then the following
would fail:

    from requests.packages import urllib3
</pre>
</div>
</content>
</entry>
<entry>
<title>Only alias the imports for vendored dependencies</title>
<updated>2015-03-01T02:13:46+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-03-01T02:13:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=6ea3f2ada87177559188bfc9148af1b2384f38c6'/>
<id>6ea3f2ada87177559188bfc9148af1b2384f38c6</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Give proper attribution to pip</title>
<updated>2014-12-13T03:12:31+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2014-12-13T03:12:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=da82fb4b1d287caff3a2a99692be111eccbd1347'/>
<id>da82fb4b1d287caff3a2a99692be111eccbd1347</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Copy pip's import machinery wholesale</title>
<updated>2014-12-09T02:48:40+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>ian.cordasco@rackspace.com</email>
</author>
<published>2014-12-09T02:48:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=d61540551943df57aa0dece5e44e130309dcafec'/>
<id>d61540551943df57aa0dece5e44e130309dcafec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>updated urllib3</title>
<updated>2011-11-12T15:35:55+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2011-11-12T15:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=69e7e94c4ce349b243d8dde82a69166d8792ab81'/>
<id>69e7e94c4ce349b243d8dde82a69166d8792ab81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>from __future__ import absolute_imports</title>
<updated>2011-02-16T17:47:58+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2011-02-16T17:47:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=34ca692c9cee4b9d146b8cd276d00ca4a7df8cb1'/>
<id>34ca692c9cee4b9d146b8cd276d00ca4a7df8cb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
