Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Identity is not the same thing as equality in Python #1306
Use ==/!= to compare str, bytes, and int literals: fmt is not 'raw' --> fmt != 'raw'
>>> raw = 'ra' >>> raw += 'w' >>> raw 'raw' >>> raw == 'raw' True >>> raw is 'raw' False >>> 0 == 0.0 True >>> 0 is 0.0 False
Pwntools Pull Request
Thanks for contributing to Pwntools! Take a moment to look at
Please provide a high-level explanation of what this pull request is for.
Pull Requests that introduce new code should try to add doctests for that code. See
Depending on what the PR is for, it needs to target a different branch.
You can always change the branch after you create the PR if it's against the wrong branch.
May 8, 2019
Thanks for this!
On Wed, May 8, 2019 at 8:00 AM Arusekk ***@***.***> wrote: Merged #1306 <#1306> into dev. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1306 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAA3IGCOWUWZVYDKTWQBXH3PULFH7ANCNFSM4HLQF2MA> .
-- *Zach Riggle*