Title: sqlite3 CLI does not recognize dot commands with trailing spaces · Issue #133439 · python/cpython · GitHub
Open Graph Title: sqlite3 CLI does not recognize dot commands with trailing spaces · Issue #133439 · python/cpython
X Title: sqlite3 CLI does not recognize dot commands with trailing spaces · Issue #133439 · python/cpython
Description: Bug report Bug description: Dot commands with trailing spaces are mistaken for multi-line sqlite3 statements. $ python -m sqlite3↵ sqlite> .version↵ 3.49.1 sqlite> .version␣↵ ... ↵ ... ↵ CPython versions tested on: 3.14 Operating systems...
Open Graph Description: Bug report Bug description: Dot commands with trailing spaces are mistaken for multi-line sqlite3 statements. $ python -m sqlite3↵ sqlite> .version↵ 3.49.1 sqlite> .version␣↵ ... ↵ ... ↵ CPython ve...
X Description: Bug report Bug description: Dot commands with trailing spaces are mistaken for multi-line sqlite3 statements. $ python -m sqlite3↵ sqlite> .version↵ 3.49.1 sqlite> .version␣↵ ... ↵ ... ↵ CPyt...
Opengraph URL: https://github.com/python/cpython/issues/133439
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sqlite3 CLI does not recognize dot commands with trailing spaces","articleBody":"# Bug report\n\n### Bug description:\n\nDot commands with trailing spaces are mistaken for multi-line sqlite3 statements.\n```\n$ python -m sqlite3↵\nsqlite\u003e .version↵\n3.49.1\nsqlite\u003e .version␣↵\n ... ↵\n ... ↵\n```\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133440\n* gh-133738\n* gh-133765\n* gh-133807\n* gh-135708\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/tanloong","@type":"Person","name":"tanloong"},"datePublished":"2025-05-05T14:08:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/133439/cpython/issues/133439"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ca2cddd2-76c2-1f62-92d5-6fd60c016109 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D30C:305A31:12F257A:18DF3E7:696B730A |
| html-safe-nonce | 18bff73c3a056f116703c3dbf6d774eda88ffc33a3cd8c8139f7e712618022bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzBDOjMwNUEzMToxMkYyNTdBOjE4REYzRTc6Njk2QjczMEEiLCJ2aXNpdG9yX2lkIjoiNTM3MDc5MTI0NDYwNDMzODk1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e8e475db824d803b15e2f04b7f093bb15bf72260f6424f3bc9ca65dbf069ae70 |
| hovercard-subject-tag | issue:3039800864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/133439/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01d520093c44b4f73aa409e61a3bafdffa0b023f3526e459963f8d07792f5b48/python/cpython/issues/133439 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01d520093c44b4f73aa409e61a3bafdffa0b023f3526e459963f8d07792f5b48/python/cpython/issues/133439 |
| og:image:alt | Bug report Bug description: Dot commands with trailing spaces are mistaken for multi-line sqlite3 statements. $ python -m sqlite3↵ sqlite> .version↵ 3.49.1 sqlite> .version␣↵ ... ↵ ... ↵ CPython ve... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tanloong |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width