Menu

#274 Pythom from/import causing infinite loop

v2.3
closed-fixed
None
3
2018-10-19
2018-10-19
No

Python module/package paths are translated to OS syntax by Python.pm and passed to Lang.pm to be processed (i.e. have <A> links attached to them).

Lang.pm sub _linkincludedirs() expects directory paths without trailing /. Python.pm doesn't sanitize its paths before handing them over. When they end with a /, this defeats the algorithm in _linkincludedirs() and causes an infinite loop.

Bug present since at least 1.2.0

Fix: always remove trailing slashes

Fix available in release 2.3.2

Discussion


Log in to post a comment.