[Pythonmac-SIG] Warning: incompatible change in 2.3a0

Jack Jansen Jack.Jansen@oratrix.com
Fri, 29 Nov 2002 00:11:26 +0100


Folks,
I'm about to check in an incompatible change in the CVS trunk for users 
of Carbon.Qd: no longer will direct access to attributes of grafports 
be allowed, only the accessor functions will work. Also, the 
Carbon.Qd.qd object, the Quickdraw global variables, will disappear and 
you will have to use the accessor functions here also. To give an 
example, in stead of "port.bounds" you'll have to use 
"port.GetPortBounds()", and in stead of "Carbon.Qd.qd.arrow" you'll 
have to use "Carbon.Qd.GetQDGlobalsArrow()".

If this causes major inconvenience: clamor loudly and I'll try to 
create a workaround. But I would rather not: the accessor functions 
have been required for C programmers since Carbon, and using them will 
make Python code more readable with the Apple documentation in hand.

And, Just, don't worry: I've converted the IDE and the Lib directory to 
use accessor functions already, I'll check that in before I check in 
the incompatible change.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -