Debian Codegraph @

cleaners/python.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 SPDX-License-Identifier: GPL-3.0-or-later
5 Copyright (c) 2008-2026 Andrew Ziem.
6
7 This work is licensed under the terms of the GNU GPL, version 3 or
8 later. See the COPYING file in the top-level directory.
9
10 The path ~/.pythonhist is used by bpython but not CPython.
11
12 ## Ubuntu Resolute Racoon (26.04 LTS)
13
14 Python 3.14.4
15 - has ~/.python_history
16 - does not have ~/.pythonhist
17
18 ## macOS Tahoe (26)
19
20 Python 3.9.6 with readline
21 - has ~/.python_history
22 - does not have ~/.pythonhist
23
24 ## Windows 11
25
26 Python 3.14.3 vanilla 64-bit
27 - has %userprofile%\.python_history
28 - does not have ~/.pythonhist
29
30 Python 3.12 vcpkg 32-bit
31 - does not keep history after the console is closed.
32 -->
33 <cleaner id="python">
34 <label>Python</label>
35 <option id="history">
36 <label>History</label>
37 <description>Delete the command history</description>
38 <action command="delete" search="file" path="~/.python_history"/>
39 <action command="delete" search="file" path="~/.pythonhist"/>
40 </option>
41 </cleaner>