[issue47150] HTTPRedirectHandler fails on POST for 307 and 308

2022-03-29 Thread Jairo Llopis
New submission from Jairo Llopis : urllib.request.HTTPRedirectHandler fails if there is a 307 HTTP return code in a POST request. In https://github.com/python/cpython/commit/c379bc5ec9012cf66424ef3d80612cf13ec51006 the same behaviour was implemented for 308. According to https

[issue43095] Windows does not raise IsADirectoryError

2021-02-01 Thread Jairo Llopis
New submission from Jairo Llopis : Trying to read a directory on Linux raises the expected exception: Python 3.9.1 (default, Jan 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux Type "help", "copyright", "credits" or "license"

[issue38615] imaplib has no timeout setting

2019-10-28 Thread Jairo Llopis
New submission from Jairo Llopis : No way to pass a timeout to imaplib.IMAP4 or imaplib.IMAP4_SSL. When opening the connection, the only way is to use socket.settimeout(), which affects the global execution environment. It's interesting that poplib includes the needed timeout para