Skip to content

PEP 3121, 384 refactoring applied to curses_panel module #59141

Closed

Description

@RobinSchreiber
BPO 14936
Nosy @loewis, @serhiy-storchaka
Files
  • curses_panel_pep384.patch
  • curses_panel_pep3121.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 = None
    closed_at = <Date 2012-06-14.14:11:00.624>
    created_at = <Date 2012-05-28.16:44:29.676>
    labels = ['extension-modules', 'type-feature']
    title = 'PEP 3121, 384 refactoring applied to curses_panel module'
    updated_at = <Date 2016-05-08.18:35:54.408>
    user = 'https://bugs.python.org/RobinSchreiber'

    bugs.python.org fields:

    activity = <Date 2016-05-08.18:35:54.408>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-06-14.14:11:00.624>
    closer = 'loewis'
    components = ['Extension Modules']
    creation = <Date 2012-05-28.16:44:29.676>
    creator = 'Robin.Schreiber'
    dependencies = []
    files = ['25746', '25747']
    hgrepos = []
    issue_num = 14936
    keywords = ['patch']
    message_count = 5.0
    messages = ['161793', '161794', '162790', '162791', '265155']
    nosy_count = 4.0
    nosy_names = ['loewis', 'python-dev', 'serhiy.storchaka', 'Robin.Schreiber']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14936'
    versions = ['Python 3.3']

    Activity

    1. RobinSchreiber commented on May 28, 2012

      RobinSchreibermannequin
      MannequinAuthor

      I have now applied the Heap-Type Refactoring from PEP-384 to the curses_panel module. Currently I still provide seperate patches for the PEP-3121 and PEP-384 refactoring. As mentioned in Issue bpo-14935 I am planning to release single patches in the future for each module I refactor.

    2. RobinSchreiber commented on May 28, 2012

      RobinSchreibermannequin
      MannequinAuthor

      I have now also added the PEP-3121 patch for the curses_panel module.

    3. python-dev commented on Jun 14, 2012

      python-devmannequin
      Mannequin

      New changeset 9a6b45a83dec by Martin v. Löwis in branch 'default':
      Issue bpo-14936: curses_panel was converted to PEP-3121 API.
      http://hg.python.org/cpython/rev/9a6b45a83dec

      New changeset 6eb21c1d3099 by Martin v. Löwis in branch 'default':
      Issue bpo-14936: curses_panel was converted to PEP-3121 and PEP-384 API.
      http://hg.python.org/cpython/rev/6eb21c1d3099

    4. loewis commented on Jun 14, 2012

      loewismannequin
      Mannequin

      Thanks for the patches!

    5. serhiy-storchaka commented on May 8, 2016

      @serhiy-storchaka
      Member

      This patch made the "_curses_panel.curses panel" type callable. Created objects were in inconsistent state and using them caused a crash.

      This bug is fixed in bpo-23815. Opened bpo-26979 for documenting the catch.

    6. 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

    Assignees

    No one assigned

      Labels

      extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions