[New-bugs-announce] [issue39319] ntpath module must not be available on POSIX platforms

Aurora report at bugs.python.org
Mon Jan 13 05:58:01 EST 2020


New submission from Aurora <auroralanes at pm.me>:

According to https://docs.python.org/dev/library/undoc.html the 'ntpath' module is an "Implementation of os.path on Win32 and Win64 platforms".
Just like all other Windows-specific modules(like winreg),'ntpath' must not be available for use on a POSIX system like Linux.
I guess that 'posixpath' is also available on Windows, that if it is, it must not be available too.

----------
components: Interpreter Core
messages: 359897
nosy: opensource-assist
priority: normal
severity: normal
status: open
title: ntpath module must not be available on POSIX platforms
type: behavior
versions: Python 3.9

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


More information about the New-bugs-announce mailing list