[ python-Bugs-853558 ] new _Launch module includes useless
deprecated functions
SourceForge.net
noreply at sourceforge.net
Sun Dec 7 17:40:41 EST 2003
Bugs item #853558, was opened at 2003-12-03 21:22
Message generated for change (Comment added) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=853558&group_id=5470
Category: Macintosh
Group: Platform-specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Bob Ippolito (etrepum)
Assigned to: Jack Jansen (jackjansen)
Summary: new _Launch module includes useless deprecated functions
Initial Comment:
You should blacklist LSInit and LSTerm, both are deprecated
and should never be used.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2003-12-07 23:40
Message:
Logged In: YES
user_id=45365
Bob, please keep bug reports to exactly one topic per report. I'm
not going to implement the suggestion of allowing None for
OSType '\0\0\0\0' right now, but feel free to add a feature request.
I think the original bug and your followon are now both fixed, if
not please reopen the bug and provide details.
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2003-12-03 22:38
Message:
Logged In: YES
user_id=139309
_Launch.LSGetApplicationForInfo should allow None (translated to
NULL) for inType and inCreator (both are OSType). Currently you
need to pass '\x00'*4 .. which sucks.
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2003-12-03 22:14
Message:
Logged In: YES
user_id=139309
It seems that Universal Headers 3.4 is also missing a bunch of
useful constants, like kLSItemInfoExtensionIsHidden
Hopefully you'll move the scanner over to OS X headers sooner
than later
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-12-03 21:52
Message:
Logged In: YES
user_id=45365
LSInit and LSTerm are gone in 1.2. The others will have to wait
until we switch from parsing Universal Headers 3.4 to parsing
native OSX headers (bug 779153).
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2003-12-03 21:36
Message:
Logged In: YES
user_id=139309
It's also missing:
LSGetExtensionInfo [mostly a dupe of os.path.splitext, but might
be nice to have]
LSCopyDisplayNameForRef [these are a must have]
LSCopyDisplayNameForURL
LSSetExtensionHiddenForRef [these would be nice]
LSSetExtensionHiddenForURL
LSCopyKindStringForTypeInfo [these are a must have]
LSCopyKindStringForMIMEType
LSCopyApplicationForMIMEType
LSFindApplicationForInfo [nice to have have, I think it's a subset of
LSGetApplicationForInfo though]
-- new things in 10.3 that might be nice to have --
LSRegisterURL
LSRegisterFSRef
LSCopyApplicationURLsForURL
everything in UTType.h
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=853558&group_id=5470
More information about the Python-bugs-list
mailing list