Skip to content

Conversation

@SpaciousCoder78
Copy link
Contributor

Hi, I'm packaging this library into Debian so that people can install this as a dependency for asyncprawcore.

While packaging, I encountered an issue with the examples where the shebang #!/usr/bin/env python inside these files uses python instead of python3 which gave a warning about unusual interpreter.

In general, python usually refers to Python 2 where as python3 is the one that's used for modern python scripts and due to python being mentioned, the interpreter was confused whether to use Python 2 or 3. This PR fixes that atleast on Linux side of things.

I've patched this in the debian package hence I'm forwarding the changes to upstream.

@SpaciousCoder78 SpaciousCoder78 changed the title fix: renamed shebang to make the examples python3 complaint fix: renamed shebang to make the examples python3 compliant Aug 7, 2025
@LilSpazJoekp LilSpazJoekp merged commit 67c59ca into praw-dev:main Aug 7, 2025
7 checks passed
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