8000 fix: SyntaxWarning: "is" with a literal. Did you mean "=="? by afq984 · Pull Request #145 · longld/peda · GitHub
[go: up one dir, main page]

Skip to content

fix: SyntaxWarning: "is" with a literal. Did you mean "=="? - #145

Merged
longld merged 1 commit into
longld:masterfrom
afq984:master
Jan 28, 2020
Merged

longld merged 1 commit into
longld:masterfrom
afq984:master

Conversation

@afq984
@afq984 afq984 commented Nov 28, 2019 •
Copy link
Copy Markdown
Contributor

With python 3.8.0:

/usr/share/peda/peda.py:45: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if sys.version_info.major is 3:
/usr/share/peda/peda.py:5780: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pyversion is 2:
/usr/share/peda/peda.py:5782: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pyversion is 3:
/usr/share/peda/peda.py:5791: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pyversion is 2:
/usr/share/peda/peda.py:5793: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pyversion is 3:
/usr/share/peda/peda.py:5802: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pyversion is 2:
/usr/share/peda/peda.py:5804: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pyversion is 3:

The PR should fix it

@acut3
acut3 commented Dec 16, 2019
Copy link
Copy Markdown

Can someone merge this pull request?

@longld
longld merged commit 0984243 into longld:master Jan 28, 2020
@r3k2
r3k2 commented Jan 29, 2020
Copy link
Copy Markdown

was just going to report this issue. thanks

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.

4 participants

0