List Info

Thread: deprecating macpath and macurl2path




deprecating macpath and macurl2path
user name
2007-04-29 23:28:26
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.

n
_______________________________________________
Python-Dev mailing list
Python-Devpython.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com

Re: deprecating macpath and macurl2path
country flaguser name
Netherlands
2007-04-30 08:45:34
 
On Monday, April 30, 2007, at 06:28AM, "Neal
Norwitz" <nnorwitzgmail.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.

Ronald

_______________________________________________
Python-Dev mailing list
Python-Devpython.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )