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 — gh-106078: Convert `_decimal` types to heap types by CharlieZhao95 · Pull Request #106079 · python/cpython Conversation
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM but there are some compiler warnings to be taken care of.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @kumaraditya303 for commit bb4e191 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
|
Can you please add tests for basic type qualities:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Refleaks looks good: 0:00:00 load avg: 2.73 Run tests sequentially 0:00:00 load avg: 2.73 [1/1] test_decimal beginning 6 repetitions 123456 ...... == Tests result: SUCCESS == 1 test OK. Total duration: 26.0 sec Tests result: SUCCESS |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I found another interesting problem while testing. The following code will causes a segmentation fault: >>> import decimal >>> tp = type(decimal.Context().flags) # SignalDict type >>> tp() # Segmentation fault I guess that the problem is caused by accessing the wild pointer when executing the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
There are currently two test classes for the C implementation: CWhitebox and SignatureTest. None of them are suitable for new tests?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Good point; I think the added tests can fit in the CWhitebox test case. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I'll merge this later today after a refleak test. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @kumaraditya303 for commit 2f4f538 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@kumaraditya303, let me amend the tests before merging. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
It would be nice to wait until #1062091 be merged. Footnotes
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Good job, @CharlieZhao95! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Thanks all! Let's move on to the next! :) |
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.