New submission from Russel Webber <[email protected]>:
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@python
components: Documentation, Extension Modules, Interpreter Core
messages: 414421
nosy: RusselWebber, docs@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 <[email protected]>
<https://bugs.python.org/issue46909>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com