- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.3k
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
When using pyrepl, there's a random print statement from sqlite when calling help then modules.
test_sqlite3: testing with SQLite version 3.51.0
Python 3.15.0a0 (heads/main:c53c55b6ed9, Oct  7 2025, 18:49:00) [Clang 17.0.0 (clang-1700.3.19.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> help
(snip...)
To quit this help utility and return to the interpreter,
enter "q", "quit" or "exit".
help> modules
Please wait a moment while I gather a list of all available modules...
test_sqlite3: testing with SQLite version 3.51.0
__future__          _sre                ensurepip           quopri
__hello__           _ssl                enum                random
__phello__          _stat               errno               re
_abc                _statistics         faulthandler        readline
Also, it's not clear to me why all of these internal _ prefixed internal modules are being displayed.
CPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done