FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Python 3.15 socket SSL and platform updates by JelleZijlstra · Pull Request #15734 · python/typeshed · GitHub

Repository navigation

Add Python 3.15 socket SSL and platform updates - #15734

Merged
JelleZijlstra merged 12 commits into
python:mainfrom
JelleZijlstra:codex/python315-socket-ssl
May 9, 2026
Merged

JelleZijlstra merged 12 commits into
python:mainfrom
JelleZijlstra:codex/python315-socket-ssl

Conversation

JelleZijlstra commented May 8, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Summary:

  • Add Python 3.15 Linux CAN ISO-TP socket constants.
  • Add Python 3.15 SSL signature algorithm, group, ciphersuite, and TLS 1.3 PSK APIs.
  • Add small Python 3.15 platform/runtime updates for hashlib, mmap, platform, and resource.
  • Remove or narrow the matching 3.15 stubtest allowlist entries.

Relevant report entries:

JelleZijlstra changed the title Add Python 3.15 socket and SSL updates Add Python 3.15 socket SSL and platform updates May 8, 2026

This comment has been minimized.

Comment thread stdlib/_ssl.pyi Outdated
Comment thread stdlib/mmap.pyi
def read_byte(self) -> int: ...
def readline(self) -> bytes: ...
def resize(self, newsize: int, /) -> None: ...
if sys.version_info < (3, 15) or sys.platform != "darwin":

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

weird

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Apparently this is correct: python/cpython#138276. It used to be available on all platforms (but it would fail on platforms without MREMAP), now it only exists if it works.

JelleZijlstra marked this pull request as ready for review May 9, 2026 00:32

This comment has been minimized.

_socket.CAN_ISOTP_LL_OPTS
_socket.CAN_ISOTP_OPTS
_socket.CAN_ISOTP_RECV_FC
(_socket.CAN_ISOTP_LL_OPTS)?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

do these definitely need the ()? magic trick?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Not really, I cleaned up a bunch more socket constants that should have been added.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

Comment thread stdlib/platform.pyi Outdated
if sys.version_info >= (3, 13):
if sys.version_info >= (3, 15):
pass
elif sys.version_info >= (3, 13):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

i'm on mobile right now, so I can't select multiple rows, but can we fix the version_info check to use the standard format?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'll change it so it's unconditionally @deprecated.

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

JelleZijlstra merged commit 24f7cf4 into python:main May 9, 2026
56 checks passed
JelleZijlstra deleted the codex/python315-socket-ssl branch May 9, 2026 17:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL