8000 gh-111051: Check if file is modifed during debugging in `pdb` by gaogaotiantian · Pull Request #111052 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111051: Check if file is modifed during debugging in pdb #111052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 25, 2024
Merged
Prev Previous commit
Next Next commit
Update Lib/pdb.py
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
gaogaotiantian and iritkatriel authored Jan 24, 2024
commit b3c84954e40a965c547bdcb2d6a3a06031bb0c08
2 changes: 1 addition & 1 deletion Lib/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def _validate_file_mtime(self):
return
if (filename in self._file_mtime_table and
mtime != self._file_mtime_table[filename]):
self.message(f"*** WARNING: file '{filename}' was edited after pdb started, "
self.message(f"*** WARNING: file '{filename}' was edited, "
"running stale code until the program is rerun")
self._file_mtime_table[filename] = mtime

Expand Down
0