Add co_stacksize to code objects#4554
Conversation
|
I need to remind myself to update |
Sorry, something went wrong.
|
wow, this makes a lot of tests pass 😄 The following tests in test_async_for (test.test_compile.TestStackSizeStability) ... unexpected success |
Sorry, something went wrong.
|
Heya @howjmay, if there's confusion on how to do it or you don't have enough time to do so let me know and I'll fix the tests as needed. |
Sorry, something went wrong.
|
Hi @DimitrisJim I was busy in the past week. I am starting to fix it once again |
Sorry, something went wrong.
|
@DimitrisJim I am feel sorry that I still can't solve this. I have no idea how to get the correct stack size |
Sorry, something went wrong.
|
@howjmay try going into # TODO: RUSTPYTHON
@unittest.expectedFailure |
Sorry, something went wrong.
|
your previous commit (c80802d) was perfectly fine here! Like @fanninpm mentions, just go through the tests in If the stack depth is calculated incorrectly in some cases, that's another subject. This PR just takes care of exposing it for now so don't worry about it. |
Sorry, something went wrong.
|
@fanninpm @DimitrisJim Ah thanks! I was totally misunderstood. Let me fix it! |
Sorry, something went wrong.
|
yeah, sorry if I didn't make myself clear enough. The idea here is to remove any decorators (and their preceding comment) for the tests that now pass. If you revert the changes you've made to cargo run --release --features ssl,jit -- -m test -j 1 -u all --slowest --fail-env-changed -v test_compilethis will execute the test runner for this specific file. After you do that you'll notice that for some of the functions (the ones in #4554 (comment)) the test actually passed (there will be a message saying 'Unexpected success'). For these you'll just need to remove the Hope I made it clear! Feel free to ask if something is confusing. |
Sorry, something went wrong.
|
Thank you @DimitrisJim. I just pushed a commit to fix |
Sorry, something went wrong.
DimitrisJim
left a comment
There was a problem hiding this comment.
thanks @howjmay! Hopefully this now satisfies the test runner.
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
Closes #4545