Skip to content

Argument Clinic dead code in _cursesmodule.c #134208

Closed
@picnixz

Description

@picnixz

Bug report

Bug description:

There are some occurrences of /*[-clinic input], such as

  • _curses.window.chgat
  • _curses.window.getstr
  • _curses.window.instr

In particular, those are misleading as one could assume that it's being handled by clinic but it's not. I believe it was historically impossible for clinic to do the necessary trick. I will modernize curses so that it either uses clinic in its full or remove the clinic directives.

Note: I cannot backport this to 3.13 as the file has been heavily modified in 3.14 to accomodate for heap types instead of static types.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions