[Python-Dev] deprecating macpath and macurl2path

Neal Norwitz nnorwitz at gmail.com
Mon Apr 30 06:28:26 CEST 2007

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.


More information about the Python-Dev mailing list