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: OSATerminology still semi-broken
Type: Stage:
Components: macOS Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: hhas, jackjansen, ronaldoussoren
Priority: normal Keywords:

Created on 2005-01-31 17:53 by hhas, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
OSATerminology-1.2.6.2.patch hhas, 2005-01-31 17:53
Messages (3)
msg24117 - (view) Author: (hhas) Date: 2005-01-31 17:53
OSATerminology.GetSysTerminology() is broken as it calls 
OSAGetAppTerminology instead of OSAGetSysTerminology. 

Attached diff fixes this bug, and additionally patches both 
functions to ignore any modeFlags arguments passed by user as 
this value should always be kOSAModeNull. Some minor 
additions and improvements to commenting and docstrings too. 
Tested and working on Python 2.3.3, OS 10.2.8.

See also bug #884085, patch #979784. (Note that this patch 
supercedes #979784.)
msg83155 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-03-04 22:50
Fixed in the trunk in revision r70178. 

hhas: it is save to backport this to python 2.6?
msg83214 - (view) Author: (hhas) Date: 2009-03-05 18:41
No idea, be honest. The original patch was created for 2.3, and I've no 
free time to look into it myself now.

BTW, note that nobody uses this module any more; it's deprecated in 2.6, 
absent in 3.0, and OSAGetAppTerminology() is deprecated in OS X 10.5 as 
well. I've already recommended that this and other bugs related to now-
deprecated MacPython-only APIs be closed as "won't fix".
History
Date User Action Args
2022-04-11 14:56:09adminsetgithub: 41509
2009-03-30 22:59:33ronaldoussorensetstatus: open -> closed
2009-03-05 18:41:40hhassetmessages: + msg83214
2009-03-04 22:50:29ronaldoussorensetassignee: jackjansen -> ronaldoussoren
resolution: accepted
messages: + msg83155
nosy: + ronaldoussoren
2005-01-31 17:53:58hhascreate