Bug description:
Not sure is it a bug from uv or cpython.
Python version: 3.14.2
Operating System: Windows 11 25H2
After I installed the virtual environment with uv, I tried to start the REPL with:
Then I met this error, here is the complete log:
Python 3.14.2 (main, Jan 27 2026, 23:46:05) [MSC v.1944 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
File "<frozen site>", line 542, in register_readline
AttributeError: module 'readline' has no attribute 'backend'
>>>
I also tried the embed version of also 3.14.2, no any error.
I also tried directly launching 3.13.5 and 3.14.2 (both installed with pymanager), also not any error.
CPython versions tested on:
3.14
Operating systems tested on:
Windows