[Python-Dev] Re: string-valued fget/fset/fdel for properties

Ronald Oussoren oussoren at cistron.nl
Tue Nov 25 03:39:10 EST 2003

On 25 nov 2003, at 3:12, David Eppstein wrote:

> In article <200311250038.hAP0cLc03924 at oma.cosc.canterbury.ac.nz>,
>  Greg Ewing <greg at cosc.canterbury.ac.nz> wrote:
>>> OTOH I hate seeing name references inside string quotes, because it
>>> complicates reference checking by tools like PyChecker
>> Oh, dear... you're going to like some of the other tricks
>> I'm pulling in PyGUI even less, then...
> Name references inside string quotes are also a standard part of PyObjC
> (used to represent an objective-C "selector" i.e. a method name that 
> has
> not yet been bound to an object type).

That's an implementation detail, and the name references are references 
to *Objective-C* identifiers which are not always valid Python 
identifiers (it's highly unlikely that 'foo:bar:' will ever be a valid 
Python indentifier, while it is a valid Objective-C method name)


More information about the Python-Dev mailing list