[New-bugs-announce] [issue45272] 'os.path' should not be a frozen module

Steve Dower report at bugs.python.org
Thu Sep 23 12:24:55 EDT 2021


New submission from Steve Dower <steve.dower at python.org>:

I noticed that Python/frozen.c includes posixpath as 'os.path'.

This is not correct, and shouldn't be necessary anyway, because os.path is just an attribute in "os" and not a concrete module (see Lib/os.py#L95 for the bit that makes it importable, and Lib/os.py#L61 and Lib/os.py#L81 for the imports).

----------
assignee: eric.snow
messages: 402506
nosy: eric.snow, steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: 'os.path' should not be a frozen module
type: behavior
versions: Python 3.11

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


More information about the New-bugs-announce mailing list