This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: QuickTime API needs corrected object types
Type: behavior Stage: test needed
Components: macOS Versions: Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: ckdavis, jackjansen, ronaldoussoren
Priority: normal Keywords: patch

Created on 2005-08-09 04:03 by ckdavis, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
qtdiff ckdavis, 2005-08-09 04:03 qtsupport.py: patch to fix CmpObj/CmpInstObj mistyping
qt-changes.diff ckdavis, 2007-10-29 00:16
Messages (3)
msg48649 - (view) Author: Christopher K Davis (ckdavis) Date: 2005-08-09 04:03
Many of the objects in the Carbon.Qt module are typed as Component 
(CmpObj) when the QuickTime API documents them as 
ComponentInstance (CmpInstObj).

This makes it impossible to use GetGraphicsImporterForFile and then 
GraphicsImportGetAsPicture, because the latter is incorrectly expecting a 
CmpObj while the former is correctly returning a CmpInstObj.

Attached is a patch to qtsupport.py correcting the incorrect CmpObj typing, 
checked by reference to the QuickTime API docs.
msg56896 - (view) Author: Christopher K Davis (ckdavis) Date: 2007-10-29 00:16
Attached diff applies to 2.5.1.

This bug still exists.
msg84565 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-03-30 15:24
I've applied these patches in revision r70713, the bugfix will be in 
python 2.7.

Also backported to 2.6 in r70715.
History
Date User Action Args
2022-04-11 14:56:12adminsetgithub: 42262
2009-03-30 15:24:41ronaldoussorensetstatus: open -> closed

nosy: + ronaldoussoren
messages: + msg84565

resolution: accepted
2009-02-15 19:42:26ajaksu2setstage: test needed
type: behavior
versions: + Python 2.6, - Python 2.5, Python 2.4
2007-10-29 00:16:15ckdavissetfiles: + qt-changes.diff
messages: + msg56896
versions: + Python 2.5
2005-08-09 04:03:55ckdaviscreate