Uh oh!
There was an error while loading. Please reload this page.
gh-106078: Convert _decimal types to heap types - #106079
Conversation
Co-authored-by: Erlend E. Aasland erlend.aasland@protonmail.com
CharlieZhao95
commented
Jun 25, 2023
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
kumaraditya303
left a comment
There was a problem hiding this comment.
Mostly LGTM but there are some compiler warnings to be taken care of.
bedevere-bot
commented
Jun 26, 2023
🤖 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. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
erlend-aasland
commented
Jun 27, 2023
Can you please add tests for basic type qualities:
|
kumaraditya303
commented
Jun 28, 2023
Refleaks looks good: 0:00:00 load avg: 2.73 Run tests sequentially0:00:00 load avg: 2.73 [1/1] test_decimalbeginning 6 repetitions123456......== Tests result: SUCCESS ==1 test OK.Total duration: 26.0 secTests result: SUCCESS |
Uh oh!
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: >>>importdecimal>>>tp=type(decimal.Context().flags) # SignalDict type>>>tp() # Segmentation faultI guess that the problem is caused by accessing the wild pointer when executing the |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
There are currently two test classes for the C implementation: CWhitebox and SignatureTest. None of them are suitable for new tests?
erlend-aasland
commented
Jun 28, 2023
Good point; I think the added tests can fit in the CWhitebox test case. |
Uh oh!
There was an error while loading. Please reload this page.
kumaraditya303
commented
Jun 29, 2023
I'll merge this later today after a refleak test. |
bedevere-bot
commented
Jun 29, 2023
🤖 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. |
erlend-aasland
commented
Jun 29, 2023
@kumaraditya303, let me amend the tests before merging. |
erlend-aasland
commented
Jun 29, 2023
Good job, @CharlieZhao95! |
CharlieZhao95
commented
Jun 29, 2023
Thanks all! Let's move on to the next! :) |
_decimaltypes to heap typesCo-authored-by: Erlend E. Aasland erlend.aasland@protonmail.com
_decimalextension module #106078