cpython/Lib
Paulie Peña 688f3a0d4b
gh-128388: pyrepl on Windows: add meta and ctrl+arrow keybindings (GH-128389)
Fix `Lib/_pyrepl/windows_console.py` to support more keybindings, like the
`Ctrl`+`←` and `Ctrl`+`→` word-skipping keybindings and those with meta (i.e. Alt),
e.g. to `kill-word` or `backward-kill-word`.

Specifics: if Ctrl is pressed, emit "ctrl left" and "ctrl right" instead of just "left" or
"right," and if Meta/Alt is pressed, emit the special key code for meta before
emitting the other key that was pressed.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
2025-01-10 13:52:19 +01:00
..
__phello__
_pyrepl gh-128388: pyrepl on Windows: add meta and ctrl+arrow keybindings (GH-128389) 2025-01-10 13:52:19 +01:00
asyncio gh-128552: fix refcycles in eager task creation (#128553) 2025-01-07 11:44:57 +00:00
collections Speed-up lazy heapq import in collections (gh-127538) 2024-12-02 20:45:36 -06:00
concurrent gh-88110: Clear concurrent.futures.thread._threads_queues after fork to avoid joining parent process' threads (GH-126098) 2024-11-22 18:20:34 +02:00
ctypes gh-112015: Implement ctypes.memoryview_at() (GH-112018) 2025-01-03 14:07:07 +01:00
curses
dbm
email gh-98188: Fix EmailMessage.get_payload to decode data when CTE value has extra text (#127547) 2025-01-05 20:32:16 -05:00
encodings gh-123803: Support arbitrary code page encodings on Windows (GH-123804) 2024-11-18 17:45:25 +00:00
ensurepip gh-126188: Update bundled pip to 24.3.1 (gh-126805) 2024-11-13 20:58:57 +00:00
html
http gh-127089: Add missing description for codes in http.HTTPStatus (#127100) 2024-12-27 15:12:25 +01:00
idlelib gh-127060: Disable traceback colors in IDLE (#128028) 2024-12-18 00:35:05 -05:00
importlib GH-126606: don't write incomplete pyc files (GH-126627) 2024-11-13 21:39:10 +00:00
json
logging
multiprocessing gh-127586: multiprocessing.Pool does not properly restore blocked signals (try 2) (GH-128011) 2024-12-27 14:09:01 -08:00
pathlib GH-127381: pathlib ABCs: remove PathBase.move() and move_into() (#128337) 2025-01-04 12:53:51 +00:00
pydoc_data Python 3.14.0a3 2024-12-17 11:50:39 +02:00
re
site-packages
sqlite3
sysconfig gh-127146: Fix test_sysconfigdata_json for Emscripten (#128556) 2025-01-06 19:45:14 +00:00
test gh-128694: Fix (env changed) error in test_inspect (#128702) 2025-01-10 13:25:02 +03:00
tkinter gh-128014: Fix passing default='' to the tkinter method wm_iconbitmap() (GH-128015) 2025-01-02 17:51:57 +02:00
tomllib
turtledemo gh-128062: Fix the font size and shortcut display of the turtledemo menu (#128063) 2024-12-19 15:24:47 -05:00
unittest gh-127221: Add colour to unittest output (#127223) 2024-12-05 21:10:46 +02:00
urllib gh-128192: support HTTP sha-256 digest authentication as per RFC-7617 (GH-128193) 2024-12-28 21:05:34 +00:00
venv GH-127724: don't use sysconfig to calculate the venv local include path (#127731) 2024-12-12 21:41:46 +00:00
wsgiref
xml gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) 2025-01-07 12:40:41 +02:00
xmlrpc
zipfile gh-123424: add ZipInfo._for_archive to set suitable default properties (#123429) 2024-12-29 18:30:53 +00:00
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_android_support.py Fix typo in Lib/_android_support.py (#127699) 2024-12-06 19:50:58 +02:00
_apple_support.py gh-126925: Modify how iOS test results are gathered (#127592) 2024-12-09 13:28:57 +08:00
_collections_abc.py
_colorize.py gh-128317: Highlight today in colour in calendar CLI output (#128318) 2025-01-03 14:56:24 +02:00
_compat_pickle.py
_compression.py
_ios_support.py
_markupbase.py
_opcode_metadata.py GH-128375: Better instrument for FOR_ITER (GH-128445) 2025-01-06 17:54:47 +00:00
_osx_support.py
_py_abc.py
_pydatetime.py gh-127553: Remove outdated TODO comment in _pydatetime (#127564) 2025-01-04 23:38:49 +01:00
_pydecimal.py Fix typos in Lib/_pydecimal.py (#127700) 2024-12-12 22:27:29 +02:00
_pyio.py gh-109523: Raise a BlockingIOError if reading text from a non-blocking stream cannot immediately return bytes. (GH-122933) 2024-12-02 14:18:30 +01:00
_pylong.py
_sitebuiltins.py
_strptime.py gh-127552: Remove comment questioning 4-digit restriction for ‘Y’ in datetime.strptime patterns (#127590) 2024-12-04 10:30:51 -08:00
_threading_local.py
_weakrefset.py
abc.py
annotationlib.py gh-119180: Add VALUE_WITH_FAKE_GLOBALS format to annotationlib (#124415) 2024-11-26 15:40:13 +00:00
antigravity.py
argparse.py GH-127133: Remove ability to nest argument groups & mutually exclusive groups (#127186) 2024-11-24 15:20:37 +00:00
ast.py
base64.py
bdb.py
bisect.py
bz2.py
calendar.py gh-128317: Highlight today in colour in calendar CLI output (#128318) 2025-01-03 14:56:24 +02:00
cmd.py
code.py
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py
contextlib.py
contextvars.py
copy.py gh-128118: Speed up copy.copy with fast lookup for atomic and container types (#128119) 2024-12-30 18:18:42 +01:00
copyreg.py
cProfile.py
csv.py
dataclasses.py
datetime.py
decimal.py
difflib.py
dis.py gh-127274: Defer nested methods (#128012) 2024-12-19 13:03:14 -08:00
doctest.py
enum.py gh-112328: Make EnumDict usable on its own and document it (GH-123669) 2024-12-20 11:40:58 -08:00
filecmp.py
fileinput.py
fnmatch.py gh-122288: Improve performances of fnmatch.translate (#122289) 2024-11-27 16:42:45 +00:00
fractions.py
ftplib.py
functools.py gh-121676: Raise a `DeprecationWarning if the Python implementation of functools.reduce is called with function or sequence` as a keyword args (#121677) 2025-01-01 13:36:47 +02:00
genericpath.py
getopt.py gh-126946: Improve error message in getopt.do_longs based on existing comment (GH-126871) 2024-11-26 10:54:02 +02:00
getpass.py
gettext.py
glob.py gh-122288: Improve performances of fnmatch.translate (#122289) 2024-11-27 16:42:45 +00:00
graphlib.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
inspect.py gh-127274: Defer nested methods (#128012) 2024-12-19 13:03:14 -08:00
io.py
ipaddress.py
keyword.py
linecache.py gh-126775: make linecache.checkcache threadsafe and GC re-entrency safe (#126776) 2024-12-10 08:40:54 +01:00
locale.py
lzma.py
mailbox.py
mimetypes.py gh-118761: Improve import time of mimetypes (#126979) 2024-11-21 16:55:28 +02:00
modulefinder.py
netrc.py
ntpath.py
nturl2path.py GH-127236: pathname2url(): generate RFC 1738 URL for absolute POSIX path (#127194) 2024-11-25 19:59:20 +00:00
numbers.py
opcode.py
operator.py
optparse.py
os.py
pdb.py gh-127321: Avoid stopping at an opcode without an associated line number for breakpoint() (#127457) 2024-12-01 11:57:03 -05:00
pickle.py gh-126992: Change pickle code to base 10 for load_long and load_int (GH-127042) 2024-12-11 12:37:59 +00:00
pickletools.py gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) 2024-11-21 13:15:12 +02:00
pkgutil.py
platform.py gh-127732: Add Windows Server 2025 detection to platform module (GH-127733) 2024-12-09 12:24:26 +00:00
plistlib.py
poplib.py Give poplib.POP3.rpop a proper docstring (#127370) 2024-12-07 18:13:49 +02:00
posixpath.py GH-118289: Fix handling of non-directories in posixpath.realpath() (#120127) 2024-11-13 22:59:32 +00:00
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py gh-41872: Fix quick extraction of module docstrings from a file in pydoc (GH-127520) 2025-01-08 10:32:07 +00:00
queue.py
quopri.py
random.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py gh-127001: Fix PATHEXT issues in shutil.which() on Windows (GH-127035) 2024-11-22 17:52:15 +02:00
signal.py
site.py GH-126985: move pyvenv.cfg detection from site to getpath (#126987) 2024-11-26 13:46:33 +00:00
smtplib.py
socket.py
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py gh-128035: Add ssl.HAS_PHA to detect libssl PHA support (GH-128036) 2024-12-24 18:29:27 +00:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py gh-128342: Specify timeout unit in subprocess docstrings (GH-128343) 2024-12-30 20:52:04 +00:00
symtable.py
tabnanny.py
tarfile.py
tempfile.py gh-126639: Add ResourceWarning to NamedTemporaryFile (#126677) 2024-12-18 10:12:24 +00:00
textwrap.py
this.py
threading.py gh-59705: Set OS thread name when Thread.name is changed (#127702) 2024-12-10 17:33:11 +01:00
timeit.py
token.py gh-127303: Add docs for token.EXACT_TOKEN_TYPES (#127304) 2024-11-29 04:00:50 -05:00
tokenize.py gh-128519: Align the docstring of untokenize() to match the docs (#128521) 2025-01-06 08:42:26 +00:00
trace.py gh-112192: Increase the trace module coverage precision to one decimal (#126972) 2024-12-03 23:33:13 +01:00
traceback.py gh-127347: Document traceback.print_list (#127348) 2024-12-03 18:08:39 +02:00
tracemalloc.py
tty.py
turtle.py gh-95371: Add support for other image formats(e.g. PNG) to the turtle… (#95378) 2025-01-02 11:45:07 +02:00
types.py
typing.py gh-128661: Fix typing.evaluate_forward_ref not showing deprecation (#128663) 2025-01-09 18:15:13 +03:00
uuid.py
warnings.py
wave.py
weakref.py
webbrowser.py
zipapp.py
zipimport.py