Skip to content

Update imaplib.py to account for additional padding#1

Open
edwardmbsmith wants to merge 10000 commits intomasterfrom
edwardmbsmith-patch-1
Open

Update imaplib.py to account for additional padding#1
edwardmbsmith wants to merge 10000 commits intomasterfrom
edwardmbsmith-patch-1

Conversation

@edwardmbsmith
Copy link
Owner

Regex for imaplib should account for IMAP servers which return one or two whitespaces after the * in responses. Updated the regex check to account for this

AA-Turner and others added 30 commits April 4, 2025 23:37
…t specification docs (python#132030)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…r HTTPS (python#129607)

The `http.server` module now supports serving over HTTPS using the `http.server.HTTPSServer` class.
This functionality is also exposed by the command-line interface (`python -m http.server`) through the
`--tls-cert`, `--tls-key` and `--tls-password-file` options.
)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…thon#132103)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
)

Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
python#132135)

Signed-off-by: Manjusaka <me@manjusaka.me>
…n#131275)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…on (python#132018)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* Add ZipFile.data_offset attribute

This attribute provides the offset to zip data from the start of the file, when available.

* Add blurb-it

* Try fixing class ref in NEWS
Yuki Kobayashi and others added 30 commits April 18, 2025 14:08
This is an option that allows the user to specify, which selected tests should
execute first, even if the order is otherwise randomized.  This is particularly
useful for tests that run the longest.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…b/test/`` (python#132397)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…python#129721)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Remove hostflags from PySSLContext as that was only needed for OpenSSL versions prior to 1.1.1
… it in Windows (python#132712)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
speedup test_unix_console.py and test_windows_console.py
This amends d08c788, now this function always successful.
… and `async with` (python#132218)

Improve the error message with a suggestion when an object supporting the synchronous
(resp. asynchronous) context manager protocol is entered using `async with` (resp. `with`)
instead of `with` (resp. `async with`).
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…oving sha1 (pythonGH-132729)

* pythongh-129327: revise hashlib documentation to account for FIPS removing sha1

More generally, the current documentation is a bit scattered, talking
about what terms are "equal" despite those terms not being very
interesting and given the term "secure hash", probably wrong (because
md5 and sha1 are not secure anymore).

Let's talk about cryptographically secure instead, and note that two of
them aren't. And then we can also link to the source for NIST going
through the removal process for SHA1.

* Add Gregors Suggestion

* Clean up

---------

Co-authored-by: Eli Schwartz <eschwartz@gentoo.org>
…PyInterpreterState` when `Py_STACKREF_DEBUG` is defined (python#132721)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.