[Python-Dev] deprecating macpath and macurl2path

Ronald Oussoren ronaldoussoren at mac.com
Mon Apr 30 15:45:34 CEST 2007

On Monday, April 30, 2007, at 06:28AM, "Neal Norwitz" <nnorwitz at gmail.com> wrote:
>PEP 11 notes that Mac OS 9 support was unsupported in 2.4.  There are
>still quite a few places that we check for sys.platform == 'mac'.
>There are also (at least) 2 modules (macpath and macurl2path) that
>look specific to Mac OS.  (OS X has sys.platform == 'darwin'.)
>Shall I add a deprecation warning on import to these modules or remove them?
>I plan to remove other mac specific code (checking sys.platform) in
>the stdlib unless someone beat me to it.

I don't know if anyone uses macpath for it, but OS9-style paths are still used in a number of APIs on OSX.

macurl2path seems OS9 specific.


More information about the Python-Dev mailing list