Message378636
Tracemalloc's format documentation (https://docs.python.org/3/library/tracemalloc.html#tracemalloc.Traceback.format) says first:
"Format the traceback as a list of lines with newlines."
then:
"Similar to the traceback.format_tb() function, except that format() does not include newlines."
The first statement is incorrect, tracemalloc does NOT add newlines to the list. I recommend just removing the "with newlines" in the first statement. |
|
Date |
User |
Action |
Args |
2020-10-14 17:09:06 | lisroach | set | recipients:
+ lisroach, docs@python |
2020-10-14 17:09:06 | lisroach | set | messageid: <1602695346.39.0.326290965149.issue42038@roundup.psfhosted.org> |
2020-10-14 17:09:06 | lisroach | link | issue42038 messages |
2020-10-14 17:09:06 | lisroach | create | |
|