inspect4py icon indicating copy to clipboard operation
inspect4py copied to clipboard

A more robust way of joining path is needed.

Open lazyhope opened this issue 3 years ago • 0 comments

There are some lines of code that join parent path to child path using string concatenation, this could create duplicate slash // as indicated in a50de51762e869f61722295ce884a4cab2464a9d. A more robust way using module functions such as pathlib.Path is needed to avoid generating illegal path. Moreover, it may be ideal to use pathlib module to handle every path modifications.

lazyhope avatar Aug 27 '22 10:08 lazyhope