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

from pwn import * changes __name__ #1279

Closed
bannsec opened this issue Mar 3, 2019 · 1 comment

Comments

@bannsec
Copy link
Contributor

commented Mar 3, 2019

Running pwntools==3.14.0.dev0 from py3 dev branch.

from pwn import * imports name apparently.

In [1]: __name__
Out[1]: '__main__'

In [2]: from pwn import *

In [3]: __name__
Out[3]: 'pwn.toplevel'
ZetaTwo added a commit to ZetaTwo/pwntools that referenced this issue May 6, 2019
ZetaTwo added a commit to ZetaTwo/pwntools that referenced this issue May 7, 2019
Arusekk added a commit that referenced this issue May 8, 2019
* Fixes #1279

* Remove redundant include
@ZetaTwo

This comment has been minimized.

Copy link
Contributor

commented May 8, 2019

This is now fixed on the dev3 branch.

@Arusekk Arusekk closed this May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.