]> granicus.if.org Git - python/commit
Converted the Carbon modules to use PEP252-style objects, with
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 29 Nov 2002 23:40:48 +0000 (23:40 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 29 Nov 2002 23:40:48 +0000 (23:40 +0000)
commitdbd5701d736a151d29fee4658228e16876626f47
tree164a5bf1d9a00788bd229820df9bfa81d75933eb
parent818855939ac016492cb59d1fc2fea94cc0764855
Converted the Carbon modules to use PEP252-style objects, with
descriptors in stead of manual getattr hooks to get at attributes
of the objects.

For Qd I have in stead gotten rid of most of the attribute access
in favor of the carbon-style accessor methods (with the exception
of visRgn, to be done later), and of the Carbon.Qd.qd global object,
for which accessor functions are also available.

For List I have fixed the fact that various methods were incorrectly
generated as functions.

CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with
basechain, so it will have to wait for PEP253 support.
48 files changed:
Mac/Modules/ae/_AEmodule.c
Mac/Modules/ae/aesupport.py
Mac/Modules/alias/_Aliasmodule.c
Mac/Modules/alias/aliassupport.py
Mac/Modules/app/_Appmodule.c
Mac/Modules/app/appsupport.py
Mac/Modules/carbonevt/CarbonEvtsupport.py
Mac/Modules/carbonevt/_CarbonEvtmodule.c
Mac/Modules/cg/_CGmodule.c
Mac/Modules/cg/cgsupport.py
Mac/Modules/cm/_Cmmodule.c
Mac/Modules/cm/cmsupport.py
Mac/Modules/ctl/_Ctlmodule.c
Mac/Modules/ctl/ctlsupport.py
Mac/Modules/dlg/_Dlgmodule.c
Mac/Modules/dlg/dlgsupport.py
Mac/Modules/drag/_Dragmodule.c
Mac/Modules/drag/dragsupport.py
Mac/Modules/evt/evtsupport.py
Mac/Modules/help/helpsupport.py
Mac/Modules/ibcarbon/IBCarbonsupport.py
Mac/Modules/ibcarbon/_IBCarbon.c
Mac/Modules/icn/icnsupport.py
Mac/Modules/list/_Listmodule.c
Mac/Modules/list/listscan.py
Mac/Modules/list/listsupport.py
Mac/Modules/menu/_Menumodule.c
Mac/Modules/menu/menusupport.py
Mac/Modules/mlte/_Mltemodule.c
Mac/Modules/mlte/mltesupport.py
Mac/Modules/qd/_Qdmodule.c
Mac/Modules/qd/qdscan.py
Mac/Modules/qd/qdsupport.py
Mac/Modules/qdoffs/_Qdoffsmodule.c
Mac/Modules/qdoffs/qdoffssupport.py
Mac/Modules/qt/_Qtmodule.c
Mac/Modules/qt/qtsupport.py
Mac/Modules/res/_Resmodule.c
Mac/Modules/res/ressupport.py
Mac/Modules/scrap/scrapsupport.py
Mac/Modules/snd/_Sndmodule.c
Mac/Modules/snd/sndsupport.py
Mac/Modules/te/_TEmodule.c
Mac/Modules/te/tesupport.py
Mac/Modules/waste/wastemodule.c
Mac/Modules/waste/wastesupport.py
Mac/Modules/win/_Winmodule.c
Mac/Modules/win/winsupport.py