fasten-project / fasten

Analyse package dependency networks at the call graph level
https://www.fasten-project.eu
Apache License 2.0
86 stars 28 forks source link

Escape < > characters in FastenPythonURI creation. #503

Closed MagielBruntink closed 1 year ago

MagielBruntink commented 1 year ago

Description

PyCG generates namespaces that can include < and > to denote lambdas. The creation of FastenPythonURIs does not take that into account and hence fails. See issue https://github.com/fasten-project/pypi-tools/issues/15.

This PR escapes the < and > characters so that URI creation succeeds.

Testing

Unit tests succeed locally.