bpo-31752: Fix possible crash in timedelta constructor called with custom integers. by serhiy-storchaka · Pull Request #3947 · python/cpython (original) (raw)
mypy
is my personal directory of miscellaneous .py files, which a have had for at least a decade. I guess I should rename it. tem.py should have been the code in the initial post with a print added. I should have been clearer.
Without the patch, with a fresh build,python -m test test_datetime
passes (and ditto for whole suite, without test_datetime
added)python -m unittest test.test_datetime
passespython -m test.test_datetime
crashes in test_strftime with 'Debug assertion failed' in line 1184 of min\kernal\crts\ucrt\src\appcrt\time\wcsftime.cpp
. I don't know what to make of this.
I will apply the patch again, re-build, and try to reproduce what I think I did before, keep better notes, and report again.