Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error handling in sqlite3 #76969

Closed
serhiy-storchaka opened this issue Feb 7, 2018 · 2 comments
Closed

Better error handling in sqlite3 #76969

serhiy-storchaka opened this issue Feb 7, 2018 · 2 comments
Labels
3.8 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 32788
Nosy @berkerpeksag, @serhiy-storchaka, @sir-sigurd
PRs
  • bpo-32788: Better error handling in sqlite3. #3723
  • 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 = None
    closed_at = <Date 2018-12-10.14:07:04.044>
    created_at = <Date 2018-02-07.12:01:54.607>
    labels = ['extension-modules', 'type-feature', '3.8']
    title = 'Better error handling in sqlite3'
    updated_at = <Date 2018-12-10.14:07:04.043>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2018-12-10.14:07:04.043>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-12-10.14:07:04.044>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2018-02-07.12:01:54.607>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32788
    keywords = ['patch']
    message_count = 2.0
    messages = ['311786', '331508']
    nosy_count = 4.0
    nosy_names = ['ghaering', 'berker.peksag', 'serhiy.storchaka', 'sir-sigurd']
    pr_nums = ['3723']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32788'
    versions = ['Python 3.8']

    @serhiy-storchaka
    Copy link
    Member Author

    The proposed patch makes unexpected errors raised when look up an attribute or a key in a dict (like MemoryError, KeyboardInterrupt, etc) be leaked to a user instead of be overridden by TypeError or AttributeError.

    @serhiy-storchaka serhiy-storchaka added 3.8 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Feb 7, 2018
    @serhiy-storchaka
    Copy link
    Member Author

    New changeset fc662ac by Serhiy Storchaka in branch 'master':
    bpo-32788: Better error handling in sqlite3. (GH-3723)
    fc662ac

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant