Skip to content

Bump gdb to 15.0.* #12804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 14, 2024
Merged

Bump gdb to 15.0.* #12804

merged 4 commits into from
Oct 14, 2024

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Oct 14, 2024

Closes: #12777

Copy link
Contributor

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

class Server:
def __init__(self, in_stream, out_stream, child_stream) -> None: ...
def main_loop(self) -> None: ...
def send_event(self, event: str, body: Any | None = None) -> None: ... # body is an arbitrary object
Copy link
Member

Choose a reason for hiding this comment

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

So why not use object instead of Any?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because the expected type is constrained by whatever the event is (I think). I.e. I assume there is an implicit contract between event sender and event receiver that the body has a certain type.

@JelleZijlstra JelleZijlstra merged commit 42f6a21 into python:main Oct 14, 2024
48 checks passed
@srittau srittau deleted the gdb-15.0 branch October 14, 2024 13:10
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.

Daily tests failed on Fri Oct 11 2024
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy