Skip to content

Remove unused bindings and constants from _winconsole - #3817

Merged
Rowlando13 merged 1 commit into
pallets:stablefrom
kdeldycke:cleanup-winconsole
Aug 31, 2026
Merged

Rowlando13 merged 1 commit into
pallets:stablefrom
kdeldycke:cleanup-winconsole

Conversation

@kdeldycke

@kdeldycke kdeldycke commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

These constants are not used anywhere, so I would classify them as left-over from the previous Python 2 cleanup that was performed by @Rowlando13 in #3695 or @davidism in 00883dd.

These were introduced 11 years ago in Click 6.x (see bcf8fec) for Python 2 compatibility and not touched since then.

And because this module is private, I choose not to add a changelog. Just tell me if you think it needs one and I will update this PR.

@kdeldycke kdeldycke added this to the 8.5.1 milestone Aug 31, 2026
@kdeldycke kdeldycke added windows Windows-specific behavior typing Type annotations and stubs labels Aug 31, 2026
@Rowlando13
Rowlando13 merged commit cbb5b2d into pallets:stable Aug 31, 2026
12 checks passed
@kdeldycke
kdeldycke deleted the cleanup-winconsole branch August 31, 2026 13:59
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

typing Type annotations and stubs windows Windows-specific behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants