GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — bpo-40280: Change subprocess imports for cleaner error on wasm32 (GH-30620) by tiran · Pull Request #30620 · python/cpython Conversation
|
|
Why was this merged with a failing check? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The failing test it unrelated to my PR. Victor reverted the commit that caused the test regression in GH-30632. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I'd recommend always saying why you are merging if a check is failing, it helps narrow down the failure when looking at the merge history. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'll note that the last change here (GH-9053) specifically moved away from doing imports based on |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yeah, based on Zach's older PR and issue that resolved this should probably be reworked to a different approach. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
The old approach gave a confusing exception when neither |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I won't push for a revert yet, but I also wouldn't like to see this version in a final release. I'm afraid there's not a perfect solution here: the behavior should be based on what can be imported, which means at least one platform is going to have to raise and handle a What was the exception when both are missing, and how was it confusing? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The exception was confusing because it was a nested exception that referred to msvcrt as primary cause of an import error. How do you like #30930 ? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.