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

Add use_default_colors support to curses module. #38517

Closed
joergl mannequin opened this issue May 17, 2003 · 2 comments
Closed

Add use_default_colors support to curses module. #38517

joergl mannequin opened this issue May 17, 2003 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@joergl
Copy link
Mannequin

joergl mannequin commented May 17, 2003

BPO 739124
Nosy @akuchling
Files
  • use_default_colors.patch
  • 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/akuchling'
    closed_at = <Date 2003-08-13.23:14:33.000>
    created_at = <Date 2003-05-17.12:38:44.000>
    labels = ['library']
    title = 'Add use_default_colors support to curses module.'
    updated_at = <Date 2003-08-13.23:14:33.000>
    user = 'https://bugs.python.org/joergl'

    bugs.python.org fields:

    activity = <Date 2003-08-13.23:14:33.000>
    actor = 'akuchling'
    assignee = 'akuchling'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2003-05-17.12:38:44.000>
    creator = 'joergl'
    dependencies = []
    files = ['5313']
    hgrepos = []
    issue_num = 739124
    keywords = ['patch']
    message_count = 2.0
    messages = ['43807', '43808']
    nosy_count = 2.0
    nosy_names = ['akuchling', 'joergl']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue739124'
    versions = ['Python 2.3']

    @joergl
    Copy link
    Mannequin Author

    joergl mannequin commented May 17, 2003

    This trivial patch adds support for the
    use_default_colors function
    to the curses module, if supported by the (n)curses
    library.
    This functionality is needed, if one wants to use
    transparency in
    a ncurses application.

    Included is a corresponding patch for the curses test
    module and the
    curses module's documentation.

    It would be nice, if this patch could be included in
    Python2.3.

    @joergl joergl mannequin closed this as completed May 17, 2003
    @joergl joergl mannequin assigned akuchling May 17, 2003
    @joergl joergl mannequin added the stdlib Python modules in the Lib dir label May 17, 2003
    @akuchling
    Copy link
    Member

    Logged In: YES
    user_id=11375

    Checked in to the 2.4 CVS tree. One small change was required:
    the method was defined with METH_VARARGS, but because it
    takes no arguments, it should have used METH_NOARGS.
    Thanks for your contribution!

    I wish I'd known about this patch in time to check it into 2.3, but
    no one assigned it to me. Off to look for any other dangling
    curses patches...

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant