This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Valentin.Lorentz, nedbat, serhiy.storchaka, vstinner
Date 2017-05-04.18:47:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493923661.65.0.322423910811.issue30267@psf.upfronthosting.co.za>
In-reply-to
Content
We shouldn't deprecate a function until add an alternative. There is a working alternative for paths, but commonprefix() is used in the wild for non-paths (for example in unittest.util). The problem is that there is no right place for this function. The string module is wrong place because commonprefix() supports not only strings. Perhaps the new seqtools module would be a right place.
History
Date User Action Args
2017-05-04 18:47:41serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, nedbat, Valentin.Lorentz
2017-05-04 18:47:41serhiy.storchakasetmessageid: <1493923661.65.0.322423910811.issue30267@psf.upfronthosting.co.za>
2017-05-04 18:47:41serhiy.storchakalinkissue30267 messages
2017-05-04 18:47:41serhiy.storchakacreate