Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.2k
gh-133485: Use interpreters.Interpreter in InterpreterPoolExecutor#133957
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
e4ee49fccc135cda936a6f1b932a39c6768fd94a42bf79702cfc856635076d99efe805c4f9db19a8dcdd605c802755770ccce4c7529e83ccb4f4ae62e514fcFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -20,6 +20,10 @@ | ||
| def init(x): | ||
| global INITIALIZER_STATUS | ||
| INITIALIZER_STATUS = x | ||
| # InterpreterPoolInitializerTest.test_initializer fails | ||
| # if we don't have a LOAD_GLOBAL. (It could be any global.) | ||
| # We will address this separately. | ||
| INITIALIZER_STATUS | ||
Comment on lines
+23
to
+26
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @markshannon, any ideas on why this is happening? It smells like a ceval bug, but it certainly could be something I've done wrong. MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ping @markshannon
| ||
| def get_init_status(): | ||
| return INITIALIZER_STATUS | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
It seems like
pickleandcontextlibare now unused in this file. Importingpicklemight be unnecessary when running only stateless functions?