Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove python2 shabangs #2301

Merged
merged 2 commits into from Nov 24, 2023
Merged

remove python2 shabangs #2301

merged 2 commits into from Nov 24, 2023

Conversation

xambroz
Copy link
Contributor

@xambroz xambroz commented Nov 20, 2023

Pwntools Pull Request

In the pwnlib there were handfull of modules being called from the commandlint pwn tools. As these are called from the lib by the pwn executable or wrappers, the executable shabang is not needed.

@peace-maker
Copy link
Member

The tools can be ran directly from the source directory, which is useful during development. So it might be better to just switch them to python3 instead! Although the __init__.py file doesn't need one either way.

@Arusekk
Copy link
Member

Arusekk commented Nov 21, 2023

I think the files can be made without shebangs, as most of them are not executable anyway; some of them actually are — please make them not executable so we can merge this.

@peace-maker
Copy link
Member

Ah, right. You can just run them through python manually too during development.

@peace-maker peace-maker merged commit 4ef4746 into Gallopsled:dev Nov 24, 2023
7 of 8 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.

None yet

3 participants