Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133403: CheckTools/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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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.
hereumarshal.Code
won't work, becausegenerate_code
requires a lot more attrs thanumarshal.Code
has
Uh oh!
There was an error while loading.Please reload this page.
7eaa097
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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
|
GH-134038 is a backport of this pull request to the3.14 branch. |
…ythonGH-133802)(cherry picked from commit7eaa097)Co-authored-by: sobolevn <mail@sobolevn.me>
GH-134040 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.