Re: [Pyobjc-dev] setVerbose()
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-01-02 19:12:51
|
On Thursday, Jan 2, 2003, at 04:48 Europe/Amsterdam, Bill Bumgarner wrote: > The objc.setVerbose() "feels" like maybe it ought to be pushed down > into a namespace of some kind. > > Namely, if I do... > > from objc import * Don't do that then ;-) I really mean that, the objc module is meant to be used with 'import objc' instead of 'from objc import *'. > ... then setVerbose() is defined in the local namespace. setVerbose() > is a potentially fairly common, non-ObjC specific, name. > > Maybe prefixing all bridge specific configuration functionality with > pyobjc_? > > I.e. like objc_lookUpClass(), we have pyobjc_setVerbose()? We have objc.lookUpClass and objc.setVerbose, 'objc.' as a prefix is just as much typing as 'objc_'. Adding the prefix therefore doesn't buy us much. Ronald |