[New-bugs-announce] [issue27012] Rename the posix module to _os

Brett Cannon report at bugs.python.org
Thu May 12 15:16:46 EDT 2016


New submission from Brett Cannon:

It's always bugged me that the posix module changes its name based on what OS you're running under. I think it would be better to name the module _os as that it's consistent. We can alias the name to posix/nt for backwards compatibility (and even do this in importlib since it uses the module, so no worries of missing the aliasing). It also helps reinforce the note at the top of the posix module that it shouldn't be imported directly.

----------
components: Library (Lib)
messages: 265421
nosy: brett.cannon
priority: low
severity: normal
status: open
title: Rename the posix module to _os
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27012>
_______________________________________


More information about the New-bugs-announce mailing list