[New-bugs-announce] [issue46909] Update getpath.py to look for os.pyc in __pycache__ folders

Russel Webber report at bugs.python.org
Thu Mar 3 05:53:11 EST 2022


New submission from Russel Webber <russel at computer.org>:

The STDLIB_LANDMARKS in Modules/getpath,py refers to os.pyc in an old location:
 STDLIB_LANDMARKS = [f'{STDLIB_SUBDIR}/os.py', f'{STDLIB_SUBDIR}/os.pyc']

Since https://www.python.org/dev/peps/pep-3147 the .pyc files are in __pycache__ folders.

The STDLIB_LANDMARKS should be updated.

----------
assignee: docs at python
components: Documentation, Extension Modules, Interpreter Core
messages: 414421
nosy: RusselWebber, docs at python, ned.deily, steve.dower
priority: normal
severity: normal
status: open
title: Update getpath.py to look for os.pyc in __pycache__ folders
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46909>
_______________________________________


More information about the New-bugs-announce mailing list