Skip to content

Add curses prefix to global variables names in _cursesmodule.c #124046

Closed as not planned

Description

@picnixz

Feature or enhancement

Proposal:

Some global variables are modified in _cursesmodule.c by other functions and their names can be confused with a local variable name. I wanted to use uppercase names but Victor argued that this should be reserved for C macros (#123910 (comment)) and suggested keeping prefixed lowercase names.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Activity

  1. self-assigned this
    on Sep 13, 2024
  2. changed the title [-]Add `curses` prefix to global variables in `_cursesmodule.c`[/-] [+]Add `curses` prefix to global variables names in `_cursesmodule.c`[/+] on Sep 13, 2024
  3. moved this to Features in Curses issueson Sep 13, 2024
  4. picnixz commented on Sep 13, 2024

    @picnixz
    MemberAuthor

    Closing in favor of #123961 instead of having many issues.

  5. moved this from Features to Done in Curses issueson Sep 13, 2024
  6. removed their assignment
    on Sep 13, 2024
  7. moved this from Done to No status in Curses issueson Sep 13, 2024
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

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions