News for hackers. Stuff that matters.
Re:Python typosquatting is about more than typos by bobbylarrybobby on Friday October 02, 2020 @09:32PM (#24668745)
What's especially odd is python would let you do `import beautifulsoup4 as bs4`, so there's no need to pick `bs4` for the module name. (For `scikit-learn`, I'd say restricting package names to valid python module names is fine.) Imagine if `numpy` had been named `np` or `pandas` `pd`.
Re:Python typosquatting is about more than typos by mantap on Saturday October 03, 2020 @01:18AM (#24669725)
Considering I have written import numpy as np probably thousands of times I would be quite okay with import np.