Bug 39489 - Warning /usr/lib/python3/site-packages/traitlets/config/loader.py:795: SyntaxWarning: "is" with a literal. Did you mean "=="?
Summary: Warning /usr/lib/python3/site-packages/traitlets/config/loader.py:795: Syntax...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-traitlets (show other bugs)
Version: unstable
Hardware: x86 Linux
: P5 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-31 09:52 MSK by Vitaly Chikunov
Modified: 2021-03-19 20:25 MSK (History)
20 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Chikunov 2020-12-31 09:52:53 MSK
$ ipython
/usr/lib/python3/site-packages/traitlets/config/loader.py:795: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(key) is 1:
/usr/lib/python3/site-packages/traitlets/config/loader.py:804: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(key) is 1:
Python 3.8.6 (default, Oct  2 2020, 00:06:33)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.18.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]:
Comment 1 Repository Robot 2021-03-19 20:25:42 MSK
python3-module-traitlets-5.0.5-alt1 -> sisyphus:

 * Fri Mar 19 2021 Grigory Ustinov <grenka@altlinux> 5.0.5-alt1
 - Build new version (Closes: #39489).
 - Drop python2 support.