classification
Title: [sqlite3] Remove ASCII limitation from sqlite3.Connection.create_collation()
Type: enhancement Stage:
Components: Extension Modules Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: erlendaasland Nosy List: erlendaasland, petr.viktorin
Priority: normal Keywords:

Created on 2021-07-20 21:13 by erlendaasland, last changed 2021-07-20 21:13 by erlendaasland.

Messages (1)
msg397912 - (view) Author: Erlend E. Aasland (erlendaasland) * (Python triager) Date: 2021-07-20 21:13
The sqlite3.Connection.create_collation() function limits collation names to ASCII characters only. As sqlite3_create_collation_v2() (and sqlite3_create_collation()) support UTF8, there is no need for this limitation anymore.

See https://github.com/python/cpython/pull/27156#issuecomment-883694653
History
Date User Action Args
2021-07-20 21:13:58erlendaaslandcreate