This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author remi.lapeyre
Recipients remi.lapeyre, ronaldoussoren, skrah
Date 2020-06-09.16:42:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591720930.37.0.787871181583.issue40928@roundup.psfhosted.org>
In-reply-to
Content
Thanks, I found "MallocDebugReport" in `man malloc` (I could have thought to look into there...) that seem to do the trick:

$ MallocDebugReport=none ./python -m test test_decimal -m test_maxcontext_exact_arith

0:00:00 load avg: 1.27 Run tests sequentially
0:00:00 load avg: 1.27 [1/1] test_decimal

== Tests result: SUCCESS ==

1 test OK.

Total duration: 694 ms
Tests result: SUCCESS


There is also MallocDebugReport=crash that will "write messages to standard error only for a condition that is about to cause a crash." and effectively suppress this one.


Setting it in the test with os.putenv() does not seem to work.
History
Date User Action Args
2020-06-09 16:42:10remi.lapeyresetrecipients: + remi.lapeyre, ronaldoussoren, skrah
2020-06-09 16:42:10remi.lapeyresetmessageid: <1591720930.37.0.787871181583.issue40928@roundup.psfhosted.org>
2020-06-09 16:42:10remi.lapeyrelinkissue40928 messages
2020-06-09 16:42:10remi.lapeyrecreate