<p dir="auto">Hello,</p>
<p dir="auto">Cant create session with auth object after upgrading to 1.0.3 used to work in 0.14.2<br>
(This is an interactive session, I replaced &lt; and &gt; with //)</p>
<p dir="auto">Python 2.7.2+ (default, Oct  4 2011, 20:03:08)<br>
[GCC 4.6.1] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<p dir="auto">import requests<br>
requests.<strong>version</strong><br>
'1.0.3'</p>
<p dir="auto">auth = requests.auth.HTTPDigestAuth('admin','1234')<br>
auth<br>
//requests.auth.HTTPDigestAuth object at 0xb715c9ec//</p>
<p dir="auto">requests.session(auth=auth)<br>
Traceback (most recent call last):<br>
File "//stdin//", line 1, in //module//<br>
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 385, in session<br>
return Session(**kwargs)<br>
TypeError: <strong>init</strong>() got an unexpected keyword argument 'auth'</p>
<p dir="auto">requests.session()<br>
//requests.sessions.Session object at 0xb715c9cc//</p>
<p dir="auto">auth=('user', 'pass')<br>
auth<br>
('user', 'pass')</p>
<p dir="auto">requests.session(auth=auth)<br>
Traceback (most recent call last):<br>
File "//stdin//", line 1, in //module//<br>
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 385, in session<br>
return Session(**kwargs)<br>
TypeError: <strong>init</strong>() got an unexpected keyword argument 'auth'</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="requests.session(**kwargs)
    Returns a Session for context-management."><pre class="notranslate"><code class="notranslate">requests.session(**kwargs)
    Returns a Session for context-management.
</code></pre></div>
<p dir="auto">This not longer works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="session = requests.Session(verify=not staging)

TypeError: __init__() got an unexpected keyword argument 'verify'"><pre class="notranslate"><code class="notranslate">session = requests.Session(verify=not staging)

TypeError: __init__() got an unexpected keyword argument 'verify'
</code></pre></div>