Subject: bug#38413: 27.0.50; [PATCH] python.el: Check if buffer `python-pdbtrack-tracked-buffer' is live.

From: Andrii Kolomoiets <[email-masked]>
Date: Thu, 28 Nov 2019 16:03:30 +0200

1. echo 'import pdb; pdb.set_trace()' > test.py
2. emacs -Q
3. M-x run-python
4. M-x python-shell-send-file <RET> test.py
5. C-x k test.py
6. c <RET>

Leads to error:
python-pdbtrack-tracking-finish: Selecting deleted buffer