This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erlendaasland
Recipients berker.peksag, erlendaasland
Date 2021-02-19.21:17:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613769468.06.0.0726129006161.issue43265@roundup.psfhosted.org>
In-reply-to
Content
The unit test suite shows one case of improved "exception text". I'd say it's an improvement.

$ ./python.exe  # with GH-24586 applied
>>> import sqlite3
>>> c1 = sqlite3.connect(":memory:")
>>> c2 = sqlite3.connect(":memory:")
>>> c1.backup(c2, name="non-existing")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
sqlite3.OperationalError: unknown database non-existing

$ python3.10  # latest alpha from python.org
>>> import sqlite3
>>> c1 = sqlite3.connect(":memory:")
>>> c2 = sqlite3.connect(":memory:")
>>> c1.backup(c2, name="non-existing")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
sqlite3.OperationalError: SQL logic error
History
Date User Action Args
2021-02-19 21:17:48erlendaaslandsetrecipients: + erlendaasland, berker.peksag
2021-02-19 21:17:48erlendaaslandsetmessageid: <1613769468.06.0.0726129006161.issue43265@roundup.psfhosted.org>
2021-02-19 21:17:48erlendaaslandlinkissue43265 messages
2021-02-19 21:17:48erlendaaslandcreate