Skip to content

[sqlite3] Remove ASCII limitation from sqlite3.Connection.create_collation() #88854

Description

@erlend-aasland
BPO 44688
Nosy @encukou, @erlend-aasland
PRs
  • bpo-44688: Remove ASCII limitation from sqlite3 collation names #27395
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/erlend-aasland'
    closed_at = <Date 2021-07-29.10:59:01.188>
    created_at = <Date 2021-07-20.21:13:58.992>
    labels = ['extension-modules', 'type-feature', '3.11']
    title = '[sqlite3] Remove ASCII limitation from sqlite3.Connection.create_collation()'
    updated_at = <Date 2021-07-29.10:59:01.187>
    user = 'https://github.com/erlend-aasland'

    bugs.python.org fields:

    activity = <Date 2021-07-29.10:59:01.187>
    actor = 'erlendaasland'
    assignee = 'erlendaasland'
    closed = True
    closed_date = <Date 2021-07-29.10:59:01.188>
    closer = 'erlendaasland'
    components = ['Extension Modules']
    creation = <Date 2021-07-20.21:13:58.992>
    creator = 'erlendaasland'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44688
    keywords = ['patch']
    message_count = 2.0
    messages = ['397912', '398465']
    nosy_count = 2.0
    nosy_names = ['petr.viktorin', 'erlendaasland']
    pr_nums = ['27395']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44688'
    versions = ['Python 3.11']

    Activity

    1. erlend-aasland commented on Jul 20, 2021

      @erlend-aasland
      ContributorAuthor

      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 #27156 (comment)

    2. encukou commented on Jul 29, 2021

      @encukou
      Member

      New changeset 5269c09 by Erlend Egeberg Aasland in branch 'main':
      bpo-44688: Remove ASCII limitation from sqlite3 collation names (GH-27395)
      5269c09

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions