Skip to content
Myr

Print the type of the password instead of the password itself

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by petar-iv · committed by petar-iv · parent a79a633 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/auth.py+1 added-1 removed
48 unmodified lines
49 warnings.warn(50 "Non-string passwords will no longer be supported in Requests "51 "3.0.0. Please convert the object you've passed in ({!r}) to "52 "a string or bytes object in the near future to avoid "53 "problems.".format(password),53 "problems.".format(type(password)),54 category=DeprecationWarning,55 )56 password = str(password)57 # -- End Removal --
248 unmodified lines