Skip to content

Conversation

@Avasam
Copy link
Collaborator

@Avasam Avasam commented Sep 21, 2022

Changed StrOrBytesPath to StrPath when used with strings.
TypeError: Can't mix strings and bytes in path components #8770 (comment)

Change StrOrBytesPath to StrPath when exclusively used with strings.
@AlexWaygood AlexWaygood changed the title Support for npx 8 and pyrigth PyPI package Pyinstaller: use StrPath over StrOrBytesPath Sep 21, 2022
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit d7160ca into python:master Sep 21, 2022
@JelleZijlstra
Copy link
Member

Thanks, confirmed that none of these work with bytes paths.

@Avasam Avasam deleted the incorrect-StrOrBytesPath-PyInstaller branch September 22, 2022 14:17
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