[issue9850] obsolete macpath module dangerously broken and should be removed

Ronald Oussoren report at bugs.python.org
Tue Sep 14 13:53:49 CEST 2010


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm -0 on removing the module wholesale because parts of OSX still use MacOS9 style paths (in particular some Carbon APIs and AppleScript).

I'm +1 on removing all functions that aren't path manipulation code, that is 'macpath.join' would stay while 'macpath.islink' would go, and fixing the documentation.

And to be complete: I'm -1 on fixing macpath.islink and other functions that access a life filesystem because the macpath module is only meant to be used for that on MacOS9 and that platform is no longer supported.  Path manipulation code is still useful.

BTW. The module cannot be removed from 2.7 and 3.1 due to API stability requirements.

----------

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


More information about the Python-bugs-list mailing list