Skip to content

WIP: new mypyc primitive for weakref.ref.__call__ #19145

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

BobTheBuidler
Copy link
Contributor

(Explain how this PR changes mypy.)

@BobTheBuidler BobTheBuidler changed the title Weakref call WIP: new mypyc primitive for weakref.ref.__call__ Jun 2, 2025
ilevkivskyi pushed a commit that referenced this pull request Jul 31, 2025
This PR adds a new mypyc primitive for `weakref.ref`

I wasn't able to figure out what name mypyc expects for `weakref.proxy`,
so I took that out and will keep that for a separate PR later on. ref is
more commonly used than proxy anyway.

for later, I tried:
- weakref.proxy
- weakref.ProxyType
- weakref.weakproxy

no luck with those

also for later, I'll need to finish #19145 to add a primitive for
`weakref.ref.__call__`
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.

1 participant
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