BPO | [30267](https://bugs.python.org/issue30267) --- | :--- Nosy | @brettcannon, @rhettinger, @vstinner, @nedbat, @progval, @serhiy-storchaka *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = None created_at = labels = ['library'] title = 'Deprecate os.path.commonprefix' updated_at = user = 'https://github.com/ProgVal' ``` bugs.python.org fields: ```python activity = actor = 'serhiy.storchaka' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = creator = 'Valentin.Lorentz' dependencies = [] files = [] hgrepos = [] issue_num = 30267 keywords = [] message_count = 6.0 messages = ['292993', '292994', '293004', '293140', '293173', '413320'] nosy_count = 6.0 nosy_names = ['brett.cannon', 'rhettinger', 'vstinner', 'nedbat', 'Valentin.Lorentz', 'serhiy.storchaka'] pr_nums = [] priority = 'low' resolution = None stage = None status = 'open' superseder = None type = None url = 'https://bugs.python.org/issue30267' versions = [] ``` ### Linked PRs * gh-144401 * gh-144426 * gh-144427 * gh-144428 * gh-144429 * gh-144430 * gh-144436
Activity
commonprefix()function fromos.path#144347 as a duplicate of this issuegh-74453: Add stronger security warning to os.path.commonprefix (GH-1…
pythongh-74453: Add stronger security warning to os.path.commonprefix (…
pythongh-74453: Add stronger security warning to os.path.commonprefix (…
pythongh-74453: Add stronger security warning to os.path.commonprefix (…
[3.13] gh-74453: Add stronger security warning to os.path.commonprefix
[3.14] gh-74453: Add stronger security warning to os.path.commonprefix
[3.12] gh-74453: Add stronger security warning to os.path.commonprefix
[3.11] gh-74453: Add stronger security warning to os.path.commonprefix
[3.10] gh-74453: Add stronger security warning to os.path.commonprefix
pythongh-74453: Deprecate os.path.commonprefix
pythongh-74453: Deprecate os.path.commonprefix
sethmlarson commentedon Feb 3, 2026
I've created the follow-up PR which deprecates os.path.commonprefix: #144436
pythongh-74453: Add stronger security warning to os.path.commonprefix (…
gh-74453: Deprecate os.path.commonprefix (#144436)
sethmlarson commentedon Feb 5, 2026
This issue is now complete,
os.path.commonprefix()is deprecated in Python 3.15.pythongh-74453: Add stronger security warning to os.path.commonprefix (…
pythongh-74453: Deprecate os.path.commonprefix (python#144436)
test: Handle Python 3.15 warning coming from transitive dependency py…
pythongh-74453: Deprecate os.path.commonprefix (python#144436)