-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-133403: Check Tools/build/deepfreeze.py
with mypy
#133802
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
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant
Conversation
@@ -402,7 +417,7 @@ def generate(self, name: str, obj: object) -> str: | |||
# print(f"Cache hit {key!r:.40}: {self.cache[key]!r:.40}") | |||
return self.cache[key] | |||
self.misses += 1 | |||
if isinstance(obj, (types.CodeType, umarshal.Code)) : | |||
if isinstance(obj, types.CodeType) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here umarshal.Code
won't work, because generate_code
requires a lot more attrs than umarshal.Code
has
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, @sobolevn, I could not cleanly backport this to
|
…ythonGH-133802) (cherry picked from commit 7eaa097) Co-authored-by: sobolevn <mail@sobolevn.me>
Uh oh!
There was an error while loading. Please reload this page.