Skip to content

Return real boolean from copy_file - #309

Merged
jaraco merged 1 commit into
pypa:mainfrom
Avasam:copy_file-return-real-boolean
Dec 26, 2024
Merged

Return real boolean from copy_file#309
jaraco merged 1 commit into
pypa:mainfrom
Avasam:copy_file-return-real-boolean

Conversation

@Avasam

@Avasam Avasam commented Oct 28, 2024

Copy link
Copy Markdown
Contributor

This fixes a typing issue in setuptools: Current type definitions assume that this method was returning a real boolean. We could update them to return the actual Literal[0, 1], but I figured this would be a better improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants