Sorry, something went wrong.
There was a problem hiding this comment.
LGTM at the first iteration, good job :-) Let's see if the CI agrees with me.
Sorry, something went wrong.
|
CI is unhappy: Debug memory block at address p=0x7f408d1944a0: API 'm'
0 bytes originally requested
The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected.
The 8 pad bytes at tail=0x7f408d1944a0 are not all FORBIDDENBYTE (0xfd):
at tail+0: 0x00 *** OUCH
at tail+1: 0x00 *** OUCH
at tail+2: 0x00 *** OUCH
at tail+3: 0x00 *** OUCH
at tail+4: 0x00 *** OUCH
at tail+5: 0x00 *** OUCH
at tail+6: 0x00 *** OUCH
at tail+7: 0x00 *** OUCH
Enable tracemalloc to get the memory block allocation traceback
Fatal Python error: _PyMem_DebugRawFree: bad trailing pad byte
Python runtime state: finalizing (tstate=0x55e690e76d60)
Current thread 0x00007f408e7e0080 (most recent call first):
<no Python frame>
|
Sorry, something went wrong.
|
Please try to build Python and run the test suite before pushing a change, run at least the modified test (test_hashlib in your case, if I followed correctly). |
Sorry, something went wrong.
|
Note: To develop, it's better to build Python in debug mode. |
Sorry, something went wrong.
|
@vstinner I did build locally and there were errors, so I pushed to see if it was windows-specific. I haven't yet requested a review. What is the proper etiquette for this in CPython, should I have added [DRAFT] or [DONTREVIEW] to the title? |
Sorry, something went wrong.
|
@vstinner @shihai1991 @corona10 please review |
Sorry, something went wrong.
|
@vstinner I did build locally and there were errors, so I pushed to see if it was windows-specific. If a test fails on Windows, a PR cannot be merged, since tests must pass on Linux and Windows. In general, the advice is not publish a PR before it works as expected. It's rare that people propose incomplete/non-working PRs. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, but please address the minor comments.
Sorry, something went wrong.
https://bugs.python.org/issue1635741