[issue44466] faulthandler should indicate if the fault happened in garbage collection

2021-06-21 Thread Maxwell Ballenger
Maxwell Ballenger added the comment: Thank you Victor, sounds great! -- ___ Python tracker <https://bugs.python.org/issue44466> ___ ___ Python-bugs-list mailin

[issue44466] faulthandler should indicate if the fault happened in garbage collection

2021-06-20 Thread Maxwell Ballenger
New submission from Maxwell Ballenger : I have been working on debugging a segfault. When faulthandler catches the fault, it makes a printout like this: Current thread 0x7f4fa62b2700 (most recent call first): File "/usr/lib/python3.6/site-packages/tornado/ioloop.py"

[issue21041] pathlib.PurePath.parents rejects negative indexes

2020-07-07 Thread Maxwell Ballenger
Maxwell Ballenger added the comment: Use case: I want to see if a Path is a descendent of /tmp. if filepath.parents[-2] == Path('tmp'): turns into if filepath.parents[len(filepath.parents)-2] == Path('tmp'): -- nosy: +maxballenger ___ Python