Issue 853558: new _Launch module includes useless deprecated functions (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/39656
classification
Title: | new _Launch module includes useless deprecated functions | |
---|---|---|
Type: | Stage: | |
Components: | macOS | Versions: |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | jackjansen | Nosy List: | bob.ippolito, jackjansen |
Priority: | normal | Keywords: |
Created on 2003-12-03 20:22 by bob.ippolito, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (6) | ||
---|---|---|
msg19263 - (view) | Author: Bob Ippolito (bob.ippolito) * ![]() |
Date: 2003-12-03 20:22 |
You should blacklist LSInit and LSTerm, both are deprecated and should never be used. | ||
msg19264 - (view) | Author: Bob Ippolito (bob.ippolito) * ![]() |
Date: 2003-12-03 20:36 |
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 | ||
msg19265 - (view) | Author: Jack Jansen (jackjansen) * ![]() |
Date: 2003-12-03 20:52 |
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). | ||
msg19266 - (view) | Author: Bob Ippolito (bob.ippolito) * ![]() |
Date: 2003-12-03 21:14 |
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 | ||
msg19267 - (view) | Author: Bob Ippolito (bob.ippolito) * ![]() |
Date: 2003-12-03 21:38 |
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. | ||
msg19268 - (view) | Author: Jack Jansen (jackjansen) * ![]() |
Date: 2003-12-07 22:40 |
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. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:01 | admin | set | github: 39656 |
2003-12-03 20:22:50 | bob.ippolito | create |