psf/black repo issues, pull requests, and releases [back to top]
Two blank lines after an import should be reduced to one #4489 [kastkeepitjumpinlikekangaroos]
Description Hey! Trying to contribute for the first time to the project so let me know if I'm missing anything...
python #4989 [vanthullrocky0-source]
Black v25.1.0 Playground link Options --line-length=88 --safe Input from seven_dwwarfs import Grumpy, Happy, Sleepy,...
psf/requests repo issues, pull requests, and releases [back to top]
Only use hostname to do netrc lookup instead of netloc #6965 [sethmlarson]
Applies the patch generated from the GHSA which we couldn't merge as no one on the team had sufficient permissions.
Update floors for certifi and urllib3 to something more reasonable #7189 [nateprewitt]
We have left the floors for both certifi and urllib3 low for several years to facilitate installations on older...
docs(exceptions): Remove unused exception URLRequired from documentation #6880 [jakobheine]
The documentation previously listed requests.URLRequired as a valid exception, suggesting it would be raised for...
2.32.5 breaks passing custom SSL context #7040 [Tasssadar]
2.32.5 change 90fee08 breaks passing of custom ssl context using an adapter like this: class...
Feature: Add detection for HTTPS to HTTP downgrades (#4486)Prevent non ssl redirect #7204 [Satvi27-debug]
This Pull Request introduces logic to detect protocol downgrades during redirects within...
Fix: Include initial response in resolve_redirects iterable (#1953)Fix redirect iterable #7203 [Satvi27-debug]
This Pull Request addresses feature request #1953 by modifying the resolve_redirects generator in...
Fix cookie overriding by explicitly handling None (#2716) #7202 [Satvi27-debug]
This pull request fixes the bug where session-level cookies could not be overridden by setting them to None at the...
Importing requests will very rarely, throw a regex error. #6888 [innateessence]
import requests requests==2.32.3 throws an intermittent regular expression error for IPV6 in...
Add minimum PEP518 build-system specification #6504 [nateprewitt]
We've been missing the minimum PEP 518 build specification in our pyproject.toml. This PR adds that, along with an...
`import requests` intermittently fails on windows server 2022 #6868 [AY1uZwIcJzKhaGywovQP]
I have an error on a miniconda based python3.11 installation on Windows Server 2022 where import requests fails...
refactor(URLRequired): Deprecate URLRequired exception with warning #6881 [jakobheine]
requests.URLRequired has been dead code since ab27027 (2012) and is never raised. This commit adds a...
List of documented exceptions doesn't match reality / unused `URLRequired` exception #6877 [The-Compiler]
The documentation lists a relatively small list of exceptions, among them: exception requests.URLRequired(*args,...
Version 2.32.3 takes a long time for "connectionpool:Starting" #6910 [florianhitz]
Using version 2.32.3 takes a very long time (in the order of minutes) at: DEBUG:urllib3.connectionpool:Starting new...
Fix empty netrc entry usage #7205 [nateprewitt]
Prior to Python 3.11, a netrc entry without a username, account, or password entry was treated as malformed and...
Python 3.13: an unexpected `Authorization` header because of NETRC file #6928 [yermulnik]
When sending POST request using Python 3.13 with requests v2.32.3 there appear an unexpected Authorization...
`NOTICE` file missing in wheel #7034 [radoering]
The notice files is missing in wheels although (afaik) it is required to include it due to the APACHE license and it...
Include NOTICE and AUTHORS.rst in wheel #7046 [radoering]
(package_data had no effect because the files are not part of the package) Resolves: #7034
Add `simplejson` as an optional extra #7032 [beltekylevi]
Would you be open to adding simplejson as an optional extra? This would allow users to install it via poetry add...
recursive dependency involving fixture 'httpbin' detected when running tests #7016 [hramrach]
recursive dependency involving fixture 'httpbin' detected when running tests Expected Result tests run or provide...
Say you have a server that provides a cert chain A -> B -> D but D is actually signed by C, which is not provided by...
verify=False crashes on py3.13 on windows (FileNotFoundError) #6947 [awoimbee]
I have a tests where I do self._session.verify = False to my requests session, it...
Update docstring for Session.verify to include string support (#6859) #6865 [M0d3v1]
This pull request updates the docstring for the Session.verify attribute to clarify that it supports a string value...
Documentation: Session docstring for verify attribute should note that it supports a string value. #6859 [muscovite]
Session docstring for verify attribute should note that it supports a string value. Actual Result Currently, the...
Import time regression #6790 [holmanb]
Between 2.31.0 and 2.32.3, import time increased by ~25%. This appears to have been caused by #6667, which changed...
catch FileNotFoundError if there aren't any certificates #6749 [eaglegai] Needs Info
I set verify to False, but it still need cerfiticate. As we have catched ImportError, why not catch...
Multiple concurrent client certs broken with v2.32.3 #6726 [jeffreytolar]
We use requests with multiple mTLS client certificates - each certificate is signed by the same CA, but they have...
requests.utils. atomic_open does not respect umask #6738 [austinzh] Feature Request Question/Not a bug
Create a new file using requests.utils. atomic_open with umask set to 0o000 Expected Result 0o777 Actual...
Running prepare_headers on PreparedRequest break it #4833 [mlubimow] Feature Request Propose Close
After calling prepare() on a request, PreparedRequest object is returned. If its a PATCH request (GET is working as...
Timeout in session chunked requests lead to subsequent request timeout #4894 [meddulla]
Expected Result Requests in same session don't interfere with one another. Actual Result A slow response from a...
Warning if run single test case using setup.py test #5180 [magus0219]
I want to run single test case by running pipenv run python setup.py test -a...
Incorrect json() docstring #5245 [alekna]
What json() actually does - it deserializes JSON into a Python object. So the docstring below must be wrong: ...
python/peps repo issues, pull requests, and releases [back to top]
PEP 790: 3.15.0a6 was released on 2026-02-11 #4815 [hugovk]
https://discuss.python.org/t/python-3-15-0-alpha-6/106122/1 https://www.python.org/downloads/release/python-3150a6/ ...
PEP 8XX: Deprecate timedelta part attributes #4814 [antonagestam]
This is based on prior discussion here:...
Infra: CSS: Show borders around merged cells #4817 [encukou] infra
Showing all borders around cells fixes the presentation for "merged" cells (rowspan/colspan), like in PEP 393 (and a...
PEP 814: Address feedback from SC #4816 [corona10]
Feedback from SC: https://discuss.python.org/t/pep-814-add-frozendict-built-in-type/104854/121 The feedback...
PEP 803: Position abi3t as a new variant; use Py_TARGET_ABI3T to select it #4747 [encukou]
Change is either: To a Draft PEP To an Accepted or Final PEP, with Steering Council approval To fix an editorial...
Wulfson: It's annoying, but I accept that it should remain stable for this year. The question is, can we...