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

Deprecation and syntax warnings in Python 3.8 #175

Closed
tirkarthi opened this issue May 3, 2020 · 1 comment
Closed

Deprecation and syntax warnings in Python 3.8 #175

tirkarthi opened this issue May 3, 2020 · 1 comment

Comments

@tirkarthi
Copy link

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this.

find . -iname '*.py' | grep -Ev 'rdf4|doc|benchmark|tool' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./icontrol/session.py:475: DeprecationWarning: invalid escape sequence \*
  """Sends a HTTP DELETE command to the BIGIP REST Server.
./icontrol/session.py:503: DeprecationWarning: invalid escape sequence \*
  """Sends a HTTP GET command to the BIGIP REST Server.
./icontrol/session.py:531: DeprecationWarning: invalid escape sequence \*
  """Sends a HTTP PATCH command to the BIGIP REST Server.
./icontrol/session.py:561: DeprecationWarning: invalid escape sequence \*
  """Sends a HTTP POST command to the BIGIP REST Server.
./icontrol/test/unit/test_session.py:554: SyntaxWarning: "is" with a literal. Did you mean "=="?
  assert icrs.session.verify is '/path/to/cert'
./icontrol/test/unit/test_session.py:555: SyntaxWarning: "is" with a literal. Did you mean "=="?
  assert icrs.session.auth.verify is '/path/to/cert'
f5-rahm added a commit to f5-rahm/f5-icontrol-rest-python that referenced this issue Aug 31, 2020
@f5-rahm
Copy link
Contributor

f5-rahm commented Sep 14, 2020

archiving this repo, this request will not be implemented.

@f5-rahm f5-rahm closed this as completed Sep 14, 2020
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

No branches or pull requests

2 participants