scikit-spectra icon indicating copy to clipboard operation
scikit-spectra copied to clipboard

eval is misused

Open KOLANICH opened this issue 5 years ago • 0 comments

eval is a security and performance issue. https://github.com/hugadams/scikit-spectra/blob/55eabf747d2ee34f2ff8082e76ee509c8a144752/skspec/core/utilities.py#L81 is definitely a misuse. Uses in coregui also seem like misuses - a user should define a function separately in the notebook and pass its object or name rather than passing its code.

KOLANICH avatar Apr 20 '19 08:04 KOLANICH