[Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem
hengist.podd at virgin.net
Wed May 4 22:50:06 CEST 2005
>>Probably one for Bob, but there's an unpleasant disagreement between Py23Compat and Python 2.4 [which] means scripts written on Python 2.3 break on 2.4 and vice-versa when importing any of these modules. What's the fix?
>This is not a bug,
Maybe not, but it's hardly good design either. Any time I wish for gratuitous complexity or broken-by-design-ness I can easily use Perl or AppleScript instead. :p
> from LaunchServices import Launch, LaunchServices
> from Carbon import Launch, LaunchServices
I figured that, but I'd rather hoped a more elegant solution might be forthcoming at source. Is there a good reason why they couldn't both agree on a common location, or at least provide the relevant aliases in 2.4 to preserve Python's much-vaunted backwards compatibility?
More information about the Pythonmac-SIG