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

curses.window.enclose() should return bool #87250

Closed
serhiy-storchaka opened this issue Jan 31, 2021 · 2 comments
Closed

curses.window.enclose() should return bool #87250

serhiy-storchaka opened this issue Jan 31, 2021 · 2 comments
Labels
3.10 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 43084
Nosy @serhiy-storchaka
PRs
  • bpo-43084: Return bool instead of int from curses.window.enclose() #24398
  • 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 2021-04-05.13:50:54.093>
    created_at = <Date 2021-01-31.14:44:59.743>
    labels = ['extension-modules', 'type-feature', '3.10']
    title = 'curses.window.enclose() should return bool'
    updated_at = <Date 2021-04-05.13:50:54.093>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-04-05.13:50:54.093>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-05.13:50:54.093>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2021-01-31.14:44:59.743>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43084
    keywords = ['patch']
    message_count = 2.0
    messages = ['386021', '390235']
    nosy_count = 1.0
    nosy_names = ['serhiy.storchaka']
    pr_nums = ['24398']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue43084'
    versions = ['Python 3.10']

    @serhiy-storchaka
    Copy link
    Member Author

    curses.window.enclose() is the only curses wrapper which returns 0/1 while the original function is declared returning bool. https://linux.die.net/man/3/wenclose

    @serhiy-storchaka serhiy-storchaka added 3.10 only security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Jan 31, 2021
    @serhiy-storchaka
    Copy link
    Member Author

    New changeset b1dc1aa by Serhiy Storchaka in branch 'master':
    bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398)
    b1dc1aa

    @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.10 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