njzjz/ecnunetwork

Fix 'The input method in Python 2 will read from standard input, evaluate and run the resulting string as python source code. This is similar, though in many ways worse, then using eval. On Python 2, use raw_input instead, input is safe in Python 3.' issue in ecnunetwork\__init__.py

njzjz opened this issue · 0 comments

njzjz commented

CodeFactor found an issue: The input method in Python 2 will read from standard input, evaluate and run the resulting string as python source code. This is similar, though in many ways worse, then using eval. On Python 2, use raw_input instead, input is safe in Python 3.

It's currently on:
ecnunetwork_init_.py:41
Commit 210a563