[issue42624] sqlite3 package document mistake

2020-12-19 Thread LIU Qingyuan
LIU Qingyuan added the comment: Python 3.9.1 (default, Dec 11 2020, 14:32:07) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> conn = sqlite3.connect(

[issue42624] sqlite3 package document mistake

2020-12-12 Thread LIU Qingyuan
New submission from LIU Qingyuan : In the document about sqlite3 package, it was suggested that when users are trying to create a table already exists, sqlite3.ProgrammingError is going to be thrown. However, the actual exception thrown is sqlite3.OperationalError, which is inconsistent