Message292994
Ned Batchelder wrote an article about this function in 2010 :-)
https://nedbatchelder.com/blog/201003/whats_the_point_of_ospathcommonprefix.html
"""
The docs helpfully include the warning:
Note that this may return invalid paths because it works a character at a time.
But it should say:
This function is in the wrong place, and has nothing to do with paths, don't use it if you are interested in file paths!
""" |
|
| Date |
User |
Action |
Args |
| 2017-05-04 16:07:06 | vstinner | set | recipients:
+ vstinner, nedbat, Valentin.Lorentz |
| 2017-05-04 16:07:06 | vstinner | set | messageid: <1493914026.48.0.387333647705.issue30267@psf.upfronthosting.co.za> |
| 2017-05-04 16:07:06 | vstinner | link | issue30267 messages |
| 2017-05-04 16:07:06 | vstinner | create | |
|